summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/module_detection_force.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2022-06-15 17:26:43 +0100
committerGitHub <noreply@github.com>2022-06-15 12:26:43 -0400
commit845d4754c6fb959d1404f5de4bba9e71667b8c89 (patch)
tree88e0ca591f1d055d274731d84e2dfe5bdf69b7d5 /cli/tests/testdata/module_detection_force.ts
parent0b90e966c5e22b95c283a10407234cad37b8f19b (diff)
fix(check): use "moduleDetection": "force" (#14875)
Diffstat (limited to 'cli/tests/testdata/module_detection_force.ts')
-rw-r--r--cli/tests/testdata/module_detection_force.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/cli/tests/testdata/module_detection_force.ts b/cli/tests/testdata/module_detection_force.ts
new file mode 100644
index 000000000..7729ae366
--- /dev/null
+++ b/cli/tests/testdata/module_detection_force.ts
@@ -0,0 +1,3 @@
+const a = 1;
+await import("./module_detection_force_import.ts");
+console.log(a);