diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-02-17 14:32:57 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-17 14:32:57 +0100 |
commit | f6d6b24506410816833d802e1a8d9cd704f73289 (patch) | |
tree | 6ae2a286708ce0e2777aae0c5de616f7a39d7a6b /cli/tests/integration_tests.rs | |
parent | 097efa100ad9d2b1f190330f9fb619c95fe86352 (diff) |
feat: support loading import map from URL (#9519)
This commit adds support for loading import maps from URLs,
both remote and local.
This feature is supported in CLI flag as well as in runtime
compiler API.
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index a25a51b20..988372b17 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -2475,6 +2475,13 @@ console.log("finish"); output: "033_import_map.out", }); + itest!(_033_import_map_remote { + args: + "run --quiet --reload --import-map=http://127.0.0.1:4545/cli/tests/import_maps/import_map_remote.json --unstable import_maps/test_remote.ts", + output: "033_import_map_remote.out", + http_server: true, + }); + itest!(_034_onload { args: "run --quiet --reload 034_onload/main.ts", output: "034_onload.out", |