From afd6d69983f496fcc7c96b021920f83a8faca442 Mon Sep 17 00:00:00 2001 From: lihbr Date: Fri, 6 Sep 2024 14:09:21 +0200 Subject: [PATCH] test: skip `WriteClient.fetchForeignAsset` tests on Node 18 --- test/writeClient-fetchForeignAsset.test.ts | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/writeClient-fetchForeignAsset.test.ts b/test/writeClient-fetchForeignAsset.test.ts index 44938bc9..551194c2 100644 --- a/test/writeClient-fetchForeignAsset.test.ts +++ b/test/writeClient-fetchForeignAsset.test.ts @@ -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 })