summaryrefslogtreecommitdiff
path: root/tests/testdata/check/module_detection_force.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testdata/check/module_detection_force.ts')
-rw-r--r--tests/testdata/check/module_detection_force.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testdata/check/module_detection_force.ts b/tests/testdata/check/module_detection_force.ts
new file mode 100644
index 000000000..185ceb816
--- /dev/null
+++ b/tests/testdata/check/module_detection_force.ts
@@ -0,0 +1,3 @@
+const a = 1;
+await import("./module_detection_force/import.ts");
+console.log(a);