summaryrefslogtreecommitdiff
path: root/cli/tests/import_maps
diff options
context:
space:
mode:
authorDavid Sherret <dsherret@users.noreply.github.com>2021-08-11 10:20:47 -0400
committerGitHub <noreply@github.com>2021-08-11 10:20:47 -0400
commit15a763152f9d392cb80692262f8de5ef8ae15495 (patch)
treefcd1a59777f95920bf3502519983d6cc0d882a9a /cli/tests/import_maps
parenta0285e2eb88f6254f6494b0ecd1878db3a3b2a58 (diff)
chore: move test files to testdata directory (#11601)
Diffstat (limited to 'cli/tests/import_maps')
-rw-r--r--cli/tests/import_maps/import_map.json14
-rw-r--r--cli/tests/import_maps/import_map_remote.json9
-rw-r--r--cli/tests/import_maps/lodash/lodash.ts1
-rw-r--r--cli/tests/import_maps/lodash/other_file.ts1
-rw-r--r--cli/tests/import_maps/moment/moment.ts1
-rw-r--r--cli/tests/import_maps/moment/other_file.ts1
-rw-r--r--cli/tests/import_maps/scope/scoped.ts2
-rw-r--r--cli/tests/import_maps/scoped_moment.ts1
-rw-r--r--cli/tests/import_maps/test.ts6
-rw-r--r--cli/tests/import_maps/test_remote.ts5
-rw-r--r--cli/tests/import_maps/vue.ts1
11 files changed, 0 insertions, 42 deletions
diff --git a/cli/tests/import_maps/import_map.json b/cli/tests/import_maps/import_map.json
deleted file mode 100644
index 601874aab..000000000
--- a/cli/tests/import_maps/import_map.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "imports": {
- "moment": "./moment/moment.ts",
- "moment/": "./moment/",
- "lodash": "./lodash/lodash.ts",
- "lodash/": "./lodash/",
- "https://www.unpkg.com/vue/dist/vue.runtime.esm.js": "./vue.ts"
- },
- "scopes": {
- "scope/": {
- "moment": "./scoped_moment.ts"
- }
- }
-}
diff --git a/cli/tests/import_maps/import_map_remote.json b/cli/tests/import_maps/import_map_remote.json
deleted file mode 100644
index 51f90f69c..000000000
--- a/cli/tests/import_maps/import_map_remote.json
+++ /dev/null
@@ -1,9 +0,0 @@
-{
- "imports": {
- "moment": "./moment/moment.ts",
- "moment/": "./moment/",
- "lodash": "./lodash/lodash.ts",
- "lodash/": "./lodash/",
- "https://www.unpkg.com/vue/dist/vue.runtime.esm.js": "./vue.ts"
- }
-}
diff --git a/cli/tests/import_maps/lodash/lodash.ts b/cli/tests/import_maps/lodash/lodash.ts
deleted file mode 100644
index 2ec04ed3c..000000000
--- a/cli/tests/import_maps/lodash/lodash.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped lodash!");
diff --git a/cli/tests/import_maps/lodash/other_file.ts b/cli/tests/import_maps/lodash/other_file.ts
deleted file mode 100644
index 714adae3f..000000000
--- a/cli/tests/import_maps/lodash/other_file.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped lodash dir!");
diff --git a/cli/tests/import_maps/moment/moment.ts b/cli/tests/import_maps/moment/moment.ts
deleted file mode 100644
index 2b54a431e..000000000
--- a/cli/tests/import_maps/moment/moment.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped moment!");
diff --git a/cli/tests/import_maps/moment/other_file.ts b/cli/tests/import_maps/moment/other_file.ts
deleted file mode 100644
index 24f3a0226..000000000
--- a/cli/tests/import_maps/moment/other_file.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped moment dir!");
diff --git a/cli/tests/import_maps/scope/scoped.ts b/cli/tests/import_maps/scope/scoped.ts
deleted file mode 100644
index 9a0b5d8e3..000000000
--- a/cli/tests/import_maps/scope/scoped.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import "moment";
-console.log("Hello from scoped!");
diff --git a/cli/tests/import_maps/scoped_moment.ts b/cli/tests/import_maps/scoped_moment.ts
deleted file mode 100644
index 9f67f88d4..000000000
--- a/cli/tests/import_maps/scoped_moment.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from scoped moment!");
diff --git a/cli/tests/import_maps/test.ts b/cli/tests/import_maps/test.ts
deleted file mode 100644
index 9b09e9953..000000000
--- a/cli/tests/import_maps/test.ts
+++ /dev/null
@@ -1,6 +0,0 @@
-import "moment";
-import "moment/other_file.ts";
-import "lodash";
-import "lodash/other_file.ts";
-import "https://www.unpkg.com/vue/dist/vue.runtime.esm.js";
-import "./scope/scoped.ts";
diff --git a/cli/tests/import_maps/test_remote.ts b/cli/tests/import_maps/test_remote.ts
deleted file mode 100644
index 206bdbd5f..000000000
--- a/cli/tests/import_maps/test_remote.ts
+++ /dev/null
@@ -1,5 +0,0 @@
-import "moment";
-import "moment/other_file.ts";
-import "lodash";
-import "lodash/other_file.ts";
-import "https://www.unpkg.com/vue/dist/vue.runtime.esm.js";
diff --git a/cli/tests/import_maps/vue.ts b/cli/tests/import_maps/vue.ts
deleted file mode 100644
index 76dbe1917..000000000
--- a/cli/tests/import_maps/vue.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped Vue!");