Skip to content

Commit

Permalink
chore: comment
Browse files Browse the repository at this point in the history
  • Loading branch information
hi-ogawa committed Jan 30, 2024
1 parent edb6cef commit 315325e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/vm-threads/test/not-found.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ it('builtin', async () => {
})
})

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

0 comments on commit 315325e

Please sign in to comment.