Skip to content

Commit

Permalink
Update test/es-module/test-esm-detect-ambiguous.mjs
Browse files Browse the repository at this point in the history
  • Loading branch information
targos authored Nov 26, 2023
1 parent 0032e24 commit c3d9ac0
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions test/es-module/test-esm-detect-ambiguous.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -28,11 +28,6 @@ describe('--experimental-detect-module', { concurrency: true }, () => {
code: 'const foo = await Promise.resolve("bar"); console.log(foo);',
output: 'bar\n',
},
{
name: 'top-level `await` in a function call',
code: 'console.log(await Promise.resolve("bar"));',
output: 'bar\n',
},
]) {
it(`supports all possible ESM-only syntax elements: (${name})`, async () => {
const { stdout, stderr, code: exitCode, signal } = await spawnPromisified(process.execPath, [
Expand Down

0 comments on commit c3d9ac0

Please sign in to comment.