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.ts11
1 files changed, 0 insertions, 11 deletions
diff --git a/cli/tests/testdata/npm/dynamic_import/other.ts b/cli/tests/testdata/npm/dynamic_import/other.ts
deleted file mode 100644
index 008f8833e..000000000
--- a/cli/tests/testdata/npm/dynamic_import/other.ts
+++ /dev/null
@@ -1,11 +0,0 @@
-console.log("B");
-const chalk = (await import("npm:chalk@5")).default;
-
-console.log(chalk.green("C"));
-
-try {
- // Trying to import a devDependency should result in an error
- await import("xo");
-} catch (e) {
- console.error("devDependency import failed:", e);
-}