Skip to content
Snippets Groups Projects
Commit 2be73ca5 authored by Kevin Gibbons's avatar Kevin Gibbons Committed by Leo Balter
Browse files

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

parent c0ffc8f6
No related branches found
No related tags found
No related merge requests found
...@@ -19,7 +19,7 @@ features: [dynamic-import] ...@@ -19,7 +19,7 @@ features: [dynamic-import]
---*/ ---*/
async function fn() { 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'); assert.sameValue(first.x, 'first', 'the other module has not been evaluated yet');
const other = await first.default(); const other = await first.default();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment