diff options
Diffstat (limited to 'test/js/node/stubs.test.js')
-rw-r--r-- | test/js/node/stubs.test.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/js/node/stubs.test.js b/test/js/node/stubs.test.js index e6bce8aee..1025907ab 100644 --- a/test/js/node/stubs.test.js +++ b/test/js/node/stubs.test.js @@ -99,6 +99,9 @@ for (let specifier of specifiers) { } } } + } else { + // TODO: uncomment this after node:module can be default imported + // throw new Error(`Module ${specifier} has no default export`); } }); } |