summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/top_level_await_circular.js
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/top_level_await_circular.js')
-rw-r--r--cli/tests/testdata/top_level_await_circular.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/cli/tests/testdata/top_level_await_circular.js b/cli/tests/testdata/top_level_await_circular.js
new file mode 100644
index 000000000..ff2964b6a
--- /dev/null
+++ b/cli/tests/testdata/top_level_await_circular.js
@@ -0,0 +1,8 @@
+import { foo } from "./tla3/timeout_loop.js";
+
+export const collection = [];
+
+const mod = await import("./tla3/b.js");
+
+console.log("foo in main", foo);
+console.log("mod", mod);