diff options
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", }); |