Skip to content

Commit 2ee5df9

Browse files
committed
fixup! module: report unfinished TLA in ambiguous modules
1 parent 5930f8e commit 2ee5df9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ describe('Module syntax detection', { concurrency: !process.env.TEST_PARALLEL },
255255
it('reports unfinished top-level `await`', async () => {
256256
const { stdout, stderr, code, signal } = await spawnPromisified(process.execPath, [
257257
'--no-warnings',
258-
fixtures.path('es-modules/tla/unresolved.js')
258+
fixtures.path('es-modules/tla/unresolved.js'),
259259
]);
260260

261261
strictEqual(stderr, '');
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
await new Promise(() => {});

0 commit comments

Comments
 (0)