Skip to content

Commit 315325e

Browse files
committed
chore: comment
1 parent edb6cef commit 315325e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/vm-threads/test/not-found.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@ it('builtin', async () => {
2626
})
2727
})
2828

29+
// this test fails before node 20.3.0 since it throws a different error (cf. https://github.com/nodejs/node/pull/47824)
30+
// > Only URLs with a scheme in: file and data are supported by the default ESM loader. Received protocol 'non-existing-namespace:'
2931
it('namespace', async () => {
3032
await expect(() => notFound.importNamespace()).rejects.toMatchObject({
3133
code: 'ERR_MODULE_NOT_FOUND',

0 commit comments

Comments
 (0)