Add missing `./` to relative path in dynamic import (#1925)

This commit is contained in:
Kevin Gibbons 2018-11-06 12:38:18 -08:00 committed by Leo Balter
parent c0ffc8f6da
commit 2be73ca5ea
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ features: [dynamic-import]
---*/
async function fn() {
const first = await import('update-to-dynamic-import_FIXTURE.js');
const first = await import('./update-to-dynamic-import_FIXTURE.js');
assert.sameValue(first.x, 'first', 'the other module has not been evaluated yet');
const other = await first.default();