We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed8f2f commit 8ef5902Copy full SHA for 8ef5902
1 file changed
test/es-module/test-esm-detect-ambiguous.mjs
@@ -47,7 +47,7 @@ describe('--experimental-detect-module', { concurrency: !process.env.TEST_PARALL
47
it('should not switch to module if code is parsable as script', async () => {
48
const { code, signal, stdout, stderr } = await spawnPromisified(process.execPath, [
49
'--experimental-detect-module',
50
- '--print',
+ '--eval',
51
'let __filename,__dirname,require,module,exports;this.a',
52
]);
53
0 commit comments