summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/compat/import_cjs_from_esm
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/compat/import_cjs_from_esm')
-rw-r--r--cli/tests/testdata/compat/import_cjs_from_esm/imported.js9
-rw-r--r--cli/tests/testdata/compat/import_cjs_from_esm/main.mjs1
-rw-r--r--cli/tests/testdata/compat/import_cjs_from_esm/main_dynamic.mjs2
-rw-r--r--cli/tests/testdata/compat/import_cjs_from_esm/reexports.js1
-rw-r--r--cli/tests/testdata/compat/import_cjs_from_esm/reexports2.js2
5 files changed, 0 insertions, 15 deletions
diff --git a/cli/tests/testdata/compat/import_cjs_from_esm/imported.js b/cli/tests/testdata/compat/import_cjs_from_esm/imported.js
deleted file mode 100644
index 49ab4c782..000000000
--- a/cli/tests/testdata/compat/import_cjs_from_esm/imported.js
+++ /dev/null
@@ -1,9 +0,0 @@
-exports = {
- a: "A",
- b: "B",
-};
-exports.foo = "foo";
-exports.bar = "bar";
-exports.fizz = require("./reexports.js");
-
-console.log(exports);
diff --git a/cli/tests/testdata/compat/import_cjs_from_esm/main.mjs b/cli/tests/testdata/compat/import_cjs_from_esm/main.mjs
deleted file mode 100644
index 6fbed1b7c..000000000
--- a/cli/tests/testdata/compat/import_cjs_from_esm/main.mjs
+++ /dev/null
@@ -1 +0,0 @@
-import "./imported.js";
diff --git a/cli/tests/testdata/compat/import_cjs_from_esm/main_dynamic.mjs b/cli/tests/testdata/compat/import_cjs_from_esm/main_dynamic.mjs
deleted file mode 100644
index b94033268..000000000
--- a/cli/tests/testdata/compat/import_cjs_from_esm/main_dynamic.mjs
+++ /dev/null
@@ -1,2 +0,0 @@
-const url = import.meta.resolve("./imported.js");
-await import(url);
diff --git a/cli/tests/testdata/compat/import_cjs_from_esm/reexports.js b/cli/tests/testdata/compat/import_cjs_from_esm/reexports.js
deleted file mode 100644
index 62edb7708..000000000
--- a/cli/tests/testdata/compat/import_cjs_from_esm/reexports.js
+++ /dev/null
@@ -1 +0,0 @@
-module.exports = require("./reexports2.js");
diff --git a/cli/tests/testdata/compat/import_cjs_from_esm/reexports2.js b/cli/tests/testdata/compat/import_cjs_from_esm/reexports2.js
deleted file mode 100644
index 183d833b0..000000000
--- a/cli/tests/testdata/compat/import_cjs_from_esm/reexports2.js
+++ /dev/null
@@ -1,2 +0,0 @@
-exports.buzz = "buzz";
-exports.fizz = "FIZZ";