summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/dynamic_import/other.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/npm/dynamic_import/other.ts')
-rw-r--r--cli/tests/testdata/npm/dynamic_import/other.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/dynamic_import/other.ts b/cli/tests/testdata/npm/dynamic_import/other.ts
new file mode 100644
index 000000000..e5d3b6dc3
--- /dev/null
+++ b/cli/tests/testdata/npm/dynamic_import/other.ts
@@ -0,0 +1,4 @@
+console.log("B");
+const chalk = (await import("npm:chalk@5")).default;
+
+console.log(chalk.green("C"));