diff options
author | Luca Casonato <lucacasonato@yahoo.com> | 2020-04-28 01:12:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-28 01:12:38 +0200 |
commit | e6f70c77ee675848b084e6c5e6342ad516293d39 (patch) | |
tree | f7a8868721dbb6c9c15726587ed180a7af0f7b0c /cli/tests/integration_tests.rs | |
parent | 4041a7b8576047021c2eec711f013c6f01e471e0 (diff) |
Make import maps unstable (#4934)
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r-- | cli/tests/integration_tests.rs | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs index 68b69c97f..abf7ba372 100644 --- a/cli/tests/integration_tests.rs +++ b/cli/tests/integration_tests.rs @@ -540,6 +540,7 @@ fn bundle_import_map() { .arg("bundle") .arg("--importmap") .arg(import_map_path) + .arg("--unstable") .arg(import) .arg(&bundle) .spawn() @@ -1014,10 +1015,17 @@ itest!(_030_eval_ts { itest!(_033_import_map { args: - "run --reload --importmap=importmaps/import_map.json importmaps/test.ts", + "run --reload --importmap=importmaps/import_map.json --unstable importmaps/test.ts", output: "033_import_map.out", }); +itest!(import_map_no_unstable { + args: + "run --reload --importmap=importmaps/import_map.json importmaps/test.ts", + output: "import_map_no_unstable.out", + exit_code: 70, +}); + itest!(_034_onload { args: "run --reload 034_onload/main.ts", output: "034_onload.out", @@ -1035,7 +1043,7 @@ itest_ignore!(_035_cached_only_flag { itest!(_036_import_map_fetch { args: - "cache --reload --importmap=importmaps/import_map.json importmaps/test.ts", + "cache --reload --importmap=importmaps/import_map.json --unstable importmaps/test.ts", output: "036_import_map_fetch.out", }); |