Skip to content

Commit 8ef5902

Browse files
authored
Update test/es-module/test-esm-detect-ambiguous.mjs
1 parent 8ed8f2f commit 8ef5902

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/es-module/test-esm-detect-ambiguous.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ describe('--experimental-detect-module', { concurrency: !process.env.TEST_PARALL
4747
it('should not switch to module if code is parsable as script', async () => {
4848
const { code, signal, stdout, stderr } = await spawnPromisified(process.execPath, [
4949
'--experimental-detect-module',
50-
'--print',
50+
'--eval',
5151
'let __filename,__dirname,require,module,exports;this.a',
5252
]);
5353

0 commit comments

Comments
 (0)