From e7ffe04fceba3ab725d77be091e0c0432dfcf02f Mon Sep 17 00:00:00 2001 From: Pooya Parsa Date: Thu, 3 Oct 2024 09:31:31 +0200 Subject: [PATCH] test: ignore deps for node native register --- test/node-register.test.mjs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/test/node-register.test.mjs b/test/node-register.test.mjs index 60824d7c..7241d60d 100644 --- a/test/node-register.test.mjs +++ b/test/node-register.test.mjs @@ -8,7 +8,17 @@ const fixturesDir = fileURLToPath(new URL("fixtures", import.meta.url)); const fixtures = await readdir(fixturesDir); +const ignore = new Set( + [ + // moment-timezone issue with JSON imports + "deps", + ].filter(Boolean), +); + for (const fixture of fixtures) { + if (ignore.has(fixture)) { + continue; + } test("fixtures/" + fixture + " (ESM)", async () => { const promise = import(`./fixtures/${fixture}`); const shouldReject =