diff options
Diffstat (limited to 'tests/testdata/import_maps')
| -rw-r--r-- | tests/testdata/import_maps/config.json | 15 | ||||
| -rw-r--r-- | tests/testdata/import_maps/import_map.json | 15 | ||||
| -rw-r--r-- | tests/testdata/import_maps/import_map_invalid.json | 7 | ||||
| -rw-r--r-- | tests/testdata/import_maps/import_map_remote.json | 3 | ||||
| -rw-r--r-- | tests/testdata/import_maps/scope/scoped.ts | 2 | ||||
| -rw-r--r-- | tests/testdata/import_maps/scoped_moment.ts | 1 |
6 files changed, 2 insertions, 41 deletions
diff --git a/tests/testdata/import_maps/config.json b/tests/testdata/import_maps/config.json deleted file mode 100644 index b296a63c7..000000000 --- a/tests/testdata/import_maps/config.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "importMap": "./import_map.json", - "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/testdata/import_maps/import_map.json b/tests/testdata/import_maps/import_map.json deleted file mode 100644 index 40d1d4ec2..000000000 --- a/tests/testdata/import_maps/import_map.json +++ /dev/null @@ -1,15 +0,0 @@ -{ - "imports": { - "print_hello": "./print_hello.ts", - "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/testdata/import_maps/import_map_invalid.json b/tests/testdata/import_maps/import_map_invalid.json deleted file mode 100644 index a09d280c5..000000000 --- a/tests/testdata/import_maps/import_map_invalid.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "imports": { - "https://www.unpkg.com/vue/dist/vue.runtime.esm.js": "./vue.ts" - }, - "scopes": { - } -} diff --git a/tests/testdata/import_maps/import_map_remote.json b/tests/testdata/import_maps/import_map_remote.json index 51f90f69c..190fc4f55 100644 --- a/tests/testdata/import_maps/import_map_remote.json +++ b/tests/testdata/import_maps/import_map_remote.json @@ -4,6 +4,7 @@ "moment/": "./moment/", "lodash": "./lodash/lodash.ts", "lodash/": "./lodash/", - "https://www.unpkg.com/vue/dist/vue.runtime.esm.js": "./vue.ts" + "https://www.unpkg.com/vue/dist/vue.runtime.esm.js": "./vue.ts", + "print_hello": "./print_hello.ts" } } diff --git a/tests/testdata/import_maps/scope/scoped.ts b/tests/testdata/import_maps/scope/scoped.ts deleted file mode 100644 index 9a0b5d8e3..000000000 --- a/tests/testdata/import_maps/scope/scoped.ts +++ /dev/null @@ -1,2 +0,0 @@ -import "moment"; -console.log("Hello from scoped!"); diff --git a/tests/testdata/import_maps/scoped_moment.ts b/tests/testdata/import_maps/scoped_moment.ts deleted file mode 100644 index 9f67f88d4..000000000 --- a/tests/testdata/import_maps/scoped_moment.ts +++ /dev/null @@ -1 +0,0 @@ -console.log("Hello from scoped moment!"); |
