summaryrefslogtreecommitdiff
path: root/cli/tests/integration_tests.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/integration_tests.rs')
-rw-r--r--cli/tests/integration_tests.rs15
1 files changed, 12 insertions, 3 deletions
diff --git a/cli/tests/integration_tests.rs b/cli/tests/integration_tests.rs
index 3cc8039db..4eef5dbc6 100644
--- a/cli/tests/integration_tests.rs
+++ b/cli/tests/integration_tests.rs
@@ -296,10 +296,10 @@ itest!(_034_onload {
output: "034_onload.out",
});
-itest!(_035_no_fetch_flag {
+itest!(_035_cached_only_flag {
args:
- "--reload --no-fetch http://127.0.0.1:4545/cli/tests/019_media_types.ts",
- output: "035_no_fetch_flag.out",
+ "--reload --cached-only http://127.0.0.1:4545/cli/tests/019_media_types.ts",
+ output: "035_cached_only_flag.out",
exit_code: 1,
check_stderr: true,
http_server: true,
@@ -397,6 +397,15 @@ itest!(_051_wasm_import {
http_server: true,
});
+itest!(_052_no_remote_flag {
+ args:
+ "--reload --no-remote http://127.0.0.1:4545/cli/tests/019_media_types.ts",
+ output: "052_no_remote_flag.out",
+ exit_code: 1,
+ check_stderr: true,
+ http_server: true,
+});
+
itest!(lock_check_ok {
args: "run --lock=lock_check_ok.json http://127.0.0.1:4545/cli/tests/003_relative_import.ts",
output: "003_relative_import.ts.out",