-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(turbopack-ecmascript-runtime): prevent hanging when top level awa…
…it is skipped (#8409) ### Description A "race condition" was causing the queue to never be resolved. ### Testing Instructions Added a new test for it Fixes vercel/next.js#65278
- Loading branch information
1 parent
06b4f3d
commit c169e38
Showing
65 changed files
with
457 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 changes: 6 additions & 0 deletions
6
...ck-tests/tests/execution/turbopack/async-modules/pack-3039-top-level-await/input/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
it("should not hang", async () => { | ||
debugger; | ||
const { test } = await import("./wrapper"); | ||
|
||
expect(test()).toBe(5); | ||
}, 1000); |
7 changes: 7 additions & 0 deletions
7
...ck-tests/tests/execution/turbopack/async-modules/pack-3039-top-level-await/input/repro.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const x = 5; | ||
|
||
const a = 10; | ||
if (a !== 10) { | ||
// intentionally nothing, the skipped await point causes the problem | ||
await 0; | ||
} |
5 changes: 5 additions & 0 deletions
5
...-tests/tests/execution/turbopack/async-modules/pack-3039-top-level-await/input/wrapper.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { x } from "./repro.js"; | ||
|
||
export function test() { | ||
return x; | ||
} |
2 changes: 1 addition & 1 deletion
2
crates/turbopack-tests/tests/execution/turbopack/wasm/complex/input/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...pack-tests/tests/execution/webpack/async-modules/.reexport-unknown/input/async-unknown.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from "./unknown.js"; | ||
|
||
await 1; |
3 changes: 3 additions & 0 deletions
3
...es/turbopack-tests/tests/execution/webpack/async-modules/.reexport-unknown/input/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
it("should handle re-export from async modules correctly", async () => { | ||
await import("./test.js"); | ||
}); |
3 changes: 3 additions & 0 deletions
3
...s/tests/execution/webpack/async-modules/.reexport-unknown/input/reexport-async-unknown.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
export * from "./async-unknown.js"; | ||
export { a } from "./async-unknown.js"; | ||
export default "default"; |
23 changes: 23 additions & 0 deletions
23
crates/turbopack-tests/tests/execution/webpack/async-modules/.reexport-unknown/input/test.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
import * as ns from "./reexport-async-unknown.js?ns"; | ||
import { a, b, c } from "./reexport-async-unknown.js?named"; | ||
import value from "./reexport-async-unknown.js?default"; | ||
|
||
function nsObj(m) { | ||
Object.defineProperty(m, Symbol.toStringTag, { value: "Module" }); | ||
return m; | ||
} | ||
|
||
expect(ns).toEqual( | ||
nsObj({ | ||
default: "default", | ||
a: "a", | ||
b: "b", | ||
c: "c", | ||
}) | ||
); | ||
|
||
expect(a).toBe("a"); | ||
expect(b).toBe("b"); | ||
expect(c).toBe("c"); | ||
|
||
expect(value).toBe("default"); |
7 changes: 7 additions & 0 deletions
7
.../turbopack-tests/tests/execution/webpack/async-modules/.reexport-unknown/input/unknown.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
const o = { | ||
a: "a", | ||
b: "b", | ||
c: "c", | ||
}; | ||
|
||
module.exports = Object(o); |
3 changes: 3 additions & 0 deletions
3
crates/turbopack-tests/tests/execution/webpack/async-modules/double-import/input/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import x from "./shared"; | ||
|
||
export default x + " world"; |
3 changes: 3 additions & 0 deletions
3
crates/turbopack-tests/tests/execution/webpack/async-modules/double-import/input/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import x from "./shared"; | ||
|
||
export default x + " world"; |
4 changes: 4 additions & 0 deletions
4
crates/turbopack-tests/tests/execution/webpack/async-modules/double-import/input/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
it("should allow to import an async module twice", async () => { | ||
const result = await require("./main"); | ||
expect(result.default).toBe("hello world, hello world"); | ||
}); |
4 changes: 4 additions & 0 deletions
4
crates/turbopack-tests/tests/execution/webpack/async-modules/double-import/input/main.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import a from "./a"; | ||
import b from "./b"; | ||
|
||
export default a + ", " + b; |
3 changes: 3 additions & 0 deletions
3
crates/turbopack-tests/tests/execution/webpack/async-modules/double-import/input/shared.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
await 1; | ||
await 1; | ||
export default "hello"; |
6 changes: 6 additions & 0 deletions
6
crates/turbopack-tests/tests/execution/webpack/async-modules/issue-16097/input/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import i, { foo } from "./won't-run-tla"; | ||
|
||
it("should have value imported from won't-run-tla", async () => { | ||
expect(i).toBe(42); | ||
expect(foo).toBe(undefined); | ||
}); |
4 changes: 4 additions & 0 deletions
4
.../turbopack-tests/tests/execution/webpack/async-modules/issue-16097/input/won't-run-tla.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
global.someNonExistentVariable && (await "test"); | ||
const foo = global.otherSomeNonExistentVariable && (await 43); | ||
export default 42; | ||
export { foo }; |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./async"; | ||
|
||
report("a"); |
7 changes: 7 additions & 0 deletions
7
...ack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/async.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { report } from "../tick"; | ||
|
||
report("async before"); | ||
await 0; | ||
report("async middle"); | ||
await 0; | ||
report("async after"); |
8 changes: 8 additions & 0 deletions
8
...ck-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/async2.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
import { report } from "../tick"; | ||
import "./d"; | ||
|
||
report("async2 before"); | ||
await 0; | ||
report("async2 middle"); | ||
await 0; | ||
report("async2 after"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./async"; | ||
|
||
report("b"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/c.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./b"; | ||
|
||
report("c"); |
5 changes: 5 additions & 0 deletions
5
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/d.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { report } from "../tick"; | ||
import "./c"; | ||
import "./a"; | ||
|
||
report("d"); |
3 changes: 3 additions & 0 deletions
3
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/e.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { report } from "../tick"; | ||
|
||
report("e"); |
5 changes: 5 additions & 0 deletions
5
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-a/f.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { report } from "../tick"; | ||
import "./e"; | ||
import "./async2"; | ||
|
||
report("f"); |
5 changes: 5 additions & 0 deletions
5
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-b/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { report } from "../tick"; | ||
import "./async"; | ||
import "./b"; | ||
|
||
report("a"); |
7 changes: 7 additions & 0 deletions
7
...ack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-b/async.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { report } from "../tick"; | ||
|
||
report("async before"); | ||
await 0; | ||
report("async middle"); | ||
await 0; | ||
report("async after"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-b/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./c"; | ||
|
||
report("b"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-b/c.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./async"; | ||
|
||
report("c"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-b/d.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./c"; | ||
|
||
report("d"); |
9 changes: 9 additions & 0 deletions
9
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-b/e.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { report } from "../tick"; | ||
import "./a"; | ||
import "./d"; | ||
|
||
report("async before"); | ||
await 0; | ||
report("async middle"); | ||
await 0; | ||
report("async after"); |
7 changes: 7 additions & 0 deletions
7
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-c/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { report } from "../tick"; | ||
import "./b"; | ||
import "./a"; | ||
|
||
report("a before"); | ||
await 0; | ||
report("a after"); |
3 changes: 3 additions & 0 deletions
3
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-c/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { report } from "../tick"; | ||
|
||
report("b"); |
6 changes: 6 additions & 0 deletions
6
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-d/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { report } from "../tick"; | ||
import "./b"; | ||
|
||
report("a before"); | ||
await 0; | ||
report("a after"); |
6 changes: 6 additions & 0 deletions
6
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-d/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { report } from "../tick"; | ||
import "./c"; | ||
|
||
report("b before"); | ||
await 0; | ||
report("b after"); |
6 changes: 6 additions & 0 deletions
6
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-d/c.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { report } from "../tick"; | ||
import "./a"; | ||
|
||
report("c before"); | ||
await 0; | ||
report("c after"); |
5 changes: 5 additions & 0 deletions
5
...ack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-d/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
import { report } from "../tick"; | ||
import "./x"; | ||
import "./y"; | ||
|
||
report("index"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-d/x.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./a"; | ||
|
||
report("x"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-d/y.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./b"; | ||
|
||
report("y"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-e/a.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./async"; | ||
|
||
report("a"); |
7 changes: 7 additions & 0 deletions
7
...ack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-e/async.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import { report } from "../tick"; | ||
|
||
report("async before"); | ||
await 0; | ||
report("async middle"); | ||
await 0; | ||
report("async after"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-e/b.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./async"; | ||
|
||
report("b"); |
6 changes: 6 additions & 0 deletions
6
...ack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-e/index.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { report } from "../tick"; | ||
import "./a"; | ||
import "./b"; | ||
import "./x"; | ||
|
||
report("index"); |
4 changes: 4 additions & 0 deletions
4
...rbopack-tests/tests/execution/webpack/async-modules/micro-ticks-parents/input/case-e/x.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { report } from "../tick"; | ||
import "./a"; | ||
|
||
report("x"); |
Oops, something went wrong.