summaryrefslogtreecommitdiff
path: root/tests/importmaps
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-09-16 21:05:14 -0400
committerGitHub <noreply@github.com>2019-09-16 21:05:14 -0400
commit9cfdc60a23e6418d4780dc3ebd6266248555bb03 (patch)
tree19ca25fa733318024d1f36724a2c20741e649012 /tests/importmaps
parent02cb34d8ad320360c800b9af7b941990c48b9742 (diff)
Move integration tests to //cli/tests/ (#2964)
This ensures the deno executable is properly created before running the integration tests. Also allows deno_cli to be used as a lib. Docs are now properly generated: https://docs.rs/deno_cli/0.18.4/deno_cli/ Towards #2933 Prep for #2955
Diffstat (limited to 'tests/importmaps')
-rw-r--r--tests/importmaps/import_map.json14
-rw-r--r--tests/importmaps/lodash/lodash.ts1
-rw-r--r--tests/importmaps/lodash/other_file.ts1
-rw-r--r--tests/importmaps/moment/moment.ts1
-rw-r--r--tests/importmaps/moment/other_file.ts1
-rw-r--r--tests/importmaps/scope/scoped.ts2
-rw-r--r--tests/importmaps/scoped_moment.ts1
-rw-r--r--tests/importmaps/test.ts6
-rw-r--r--tests/importmaps/vue.ts1
9 files changed, 0 insertions, 28 deletions
diff --git a/tests/importmaps/import_map.json b/tests/importmaps/import_map.json
deleted file mode 100644
index 601874aab..000000000
--- a/tests/importmaps/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/tests/importmaps/lodash/lodash.ts b/tests/importmaps/lodash/lodash.ts
deleted file mode 100644
index 2ec04ed3c..000000000
--- a/tests/importmaps/lodash/lodash.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped lodash!");
diff --git a/tests/importmaps/lodash/other_file.ts b/tests/importmaps/lodash/other_file.ts
deleted file mode 100644
index 714adae3f..000000000
--- a/tests/importmaps/lodash/other_file.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped lodash dir!");
diff --git a/tests/importmaps/moment/moment.ts b/tests/importmaps/moment/moment.ts
deleted file mode 100644
index 2b54a431e..000000000
--- a/tests/importmaps/moment/moment.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped moment!");
diff --git a/tests/importmaps/moment/other_file.ts b/tests/importmaps/moment/other_file.ts
deleted file mode 100644
index 24f3a0226..000000000
--- a/tests/importmaps/moment/other_file.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped moment dir!");
diff --git a/tests/importmaps/scope/scoped.ts b/tests/importmaps/scope/scoped.ts
deleted file mode 100644
index 9a0b5d8e3..000000000
--- a/tests/importmaps/scope/scoped.ts
+++ /dev/null
@@ -1,2 +0,0 @@
-import "moment";
-console.log("Hello from scoped!");
diff --git a/tests/importmaps/scoped_moment.ts b/tests/importmaps/scoped_moment.ts
deleted file mode 100644
index 9f67f88d4..000000000
--- a/tests/importmaps/scoped_moment.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from scoped moment!");
diff --git a/tests/importmaps/test.ts b/tests/importmaps/test.ts
deleted file mode 100644
index 9b09e9953..000000000
--- a/tests/importmaps/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/tests/importmaps/vue.ts b/tests/importmaps/vue.ts
deleted file mode 100644
index 76dbe1917..000000000
--- a/tests/importmaps/vue.ts
+++ /dev/null
@@ -1 +0,0 @@
-console.log("Hello from remapped Vue!");