blob: 55a04d83e57e6cadaca38369b07530905c2b8357 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
let state = "init";
let m = registerModule('m', parseModule(
`import "l"; import("l").then(() => { state = "complete" });`));
let l = registerModule('l', parseModule(
`await(0);`));
moduleLink(m);
moduleEvaluate(m);
drainJobQueue();
assertEq(state, "complete");
|