summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/esm
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/npm/esm')
-rw-r--r--cli/tests/testdata/npm/esm/main.js9
-rw-r--r--cli/tests/testdata/npm/esm/main.out3
-rw-r--r--cli/tests/testdata/npm/esm/test.js5
-rw-r--r--cli/tests/testdata/npm/esm/test.out11
4 files changed, 0 insertions, 28 deletions
diff --git a/cli/tests/testdata/npm/esm/main.js b/cli/tests/testdata/npm/esm/main.js
deleted file mode 100644
index 0f1fa2590..000000000
--- a/cli/tests/testdata/npm/esm/main.js
+++ /dev/null
@@ -1,9 +0,0 @@
-import chalk from "npm:chalk@5";
-
-if (import.meta.main) {
- console.log(chalk.green("chalk esm loads"));
-}
-
-export function test(value) {
- return chalk.red(value);
-}
diff --git a/cli/tests/testdata/npm/esm/main.out b/cli/tests/testdata/npm/esm/main.out
deleted file mode 100644
index 2010a5b73..000000000
--- a/cli/tests/testdata/npm/esm/main.out
+++ /dev/null
@@ -1,3 +0,0 @@
-Download http://localhost:4545/npm/registry/chalk
-Download http://localhost:4545/npm/registry/chalk/chalk-5.0.1.tgz
-chalk esm loads
diff --git a/cli/tests/testdata/npm/esm/test.js b/cli/tests/testdata/npm/esm/test.js
deleted file mode 100644
index b9c91c715..000000000
--- a/cli/tests/testdata/npm/esm/test.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import { test } from "./main.js";
-
-Deno.test("test", () => {
- console.log(test("test"));
-});
diff --git a/cli/tests/testdata/npm/esm/test.out b/cli/tests/testdata/npm/esm/test.out
deleted file mode 100644
index a87924424..000000000
--- a/cli/tests/testdata/npm/esm/test.out
+++ /dev/null
@@ -1,11 +0,0 @@
-Download http://localhost:4545/npm/registry/chalk
-Download http://localhost:4545/npm/registry/chalk/chalk-5.0.1.tgz
-running 1 test from ./npm/esm/test.js
-test ...
-------- output -------
-test
------ output end -----
-test ... ok ([WILDCARD]s)
-
-ok | 1 passed | 0 failed ([WILDCARD]s)
-