Skip to content

Commit

Permalink
test: ignore deps for node native register
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0 committed Oct 3, 2024
1 parent 1d86ca3 commit e7ffe04
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/node-register.test.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down

0 comments on commit e7ffe04

Please sign in to comment.