mirror of
https://github.com/tc39/test262.git
synced 2025-07-23 14:04:51 +02:00
Add missing ./
to relative path in dynamic import (#1925)
This commit is contained in:
parent
c0ffc8f6da
commit
2be73ca5ea
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user