Skip to content

Commit

Permalink
test: skip WriteClient.fetchForeignAsset tests on Node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
lihbr committed Sep 6, 2024
1 parent 8759c81 commit afd6d69
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/writeClient-fetchForeignAsset.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,10 @@ import { rest } from "msw"

import { createTestWriteClient } from "./__testutils__/createWriteClient"

// Skip test on Node 16 and 18 (File support)
// Skip test on Node 16 and 18 (File and FormData support)
const isNode16 = process.version.startsWith("v16")
const it = _it.skipIf(isNode16)
const isNode18 = process.version.startsWith("v18")
const it = _it.skipIf(isNode16 || isNode18)

it.concurrent("fetches a foreign asset with content type", async (ctx) => {
const client = createTestWriteClient({ ctx })
Expand Down

0 comments on commit afd6d69

Please sign in to comment.