diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-01-25 16:51:04 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-01-25 16:51:04 -0500 |
commit | 34c14dbf995ab427a39642a478f183dd5a60005c (patch) | |
tree | 67704f2b57bd796dc8ea13ec2ae6166f92058643 /cli/tests/integration/run_tests.rs | |
parent | c6c8c91a6e4b7a2b6eed02d3e2f5db25c124d9a0 (diff) |
fix: support import map specified as data uri (#17531)
Diffstat (limited to 'cli/tests/integration/run_tests.rs')
-rw-r--r-- | cli/tests/integration/run_tests.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 62bfe136f..fd6644326 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -182,6 +182,13 @@ itest!(_033_import_map_remote { http_server: true, }); +itest!(_033_import_map_data_uri { + args: + "run --quiet --reload --import-map=data:application/json;charset=utf-8;base64,ewogICJpbXBvcnRzIjogewogICAgInRlc3Rfc2VydmVyLyI6ICJodHRwOi8vbG9jYWxob3N0OjQ1NDUvIgogIH0KfQ== run/import_maps/test_data.ts", + output: "run/import_maps/test_data.ts.out", + http_server: true, +}); + itest!(onload { args: "run --quiet --reload run/onload/main.ts", output: "run/onload/main.out", |