summaryrefslogtreecommitdiff
path: root/cli/tests/integration/test_tests.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-05-17 23:53:42 +0200
committerGitHub <noreply@github.com>2022-05-17 23:53:42 +0200
commit9a85a95c435968e5bdf6e71192be3ed239fd2205 (patch)
tree7c51e96bd0f6f7a2565f688bef85de82b5fdf790 /cli/tests/integration/test_tests.rs
parent330c820ae8d7826dfe3d88c01ba07728121fa021 (diff)
feat: subcommands type-check only local files by default (#14623)
This commit changes default mode of type-checking to "local" and adds "--check" flag to following subcommands: - deno bench - deno bundle - deno cache - deno compile - deno eval - deno install - deno test
Diffstat (limited to 'cli/tests/integration/test_tests.rs')
-rw-r--r--cli/tests/integration/test_tests.rs13
1 files changed, 13 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 05a663215..3a7e71090 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -374,3 +374,16 @@ itest!(uncaught_errors {
output: "test/uncaught_errors.out",
exit_code: 1,
});
+
+itest!(check_local_by_default {
+ args: "test --quiet test/check_local_by_default.ts",
+ output: "test/check_local_by_default.out",
+ http_server: true,
+});
+
+itest!(check_local_by_default2 {
+ args: "test --quiet test/check_local_by_default2.ts",
+ output: "test/check_local_by_default2.out",
+ http_server: true,
+ exit_code: 1,
+});