summaryrefslogtreecommitdiff
path: root/cli/tests/integration
diff options
context:
space:
mode:
authorRoj <ez@roj.im>2022-07-18 22:12:19 +0300
committerGitHub <noreply@github.com>2022-07-18 15:12:19 -0400
commit70d1ecaeaa7843b37e8ea5161b24988813b2f543 (patch)
tree011330b532ccd44320bf90c55c95b088467255bd /cli/tests/integration
parent1f04cea160071a296fc97a6bd50a2690521d70f6 (diff)
feat(cli): support configuring the test tool in the config file (#15079)
Diffstat (limited to 'cli/tests/integration')
-rw-r--r--cli/tests/integration/test_tests.rs18
1 files changed, 18 insertions, 0 deletions
diff --git a/cli/tests/integration/test_tests.rs b/cli/tests/integration/test_tests.rs
index 8e7df2dfb..32be3c127 100644
--- a/cli/tests/integration/test_tests.rs
+++ b/cli/tests/integration/test_tests.rs
@@ -62,6 +62,24 @@ itest!(collect {
output: "test/collect.out",
});
+itest!(test_with_config {
+ args: "test --config test/collect/deno.jsonc test/collect",
+ exit_code: 0,
+ output: "test/collect.out",
+});
+
+itest!(test_with_config2 {
+ args: "test --config test/collect/deno2.jsonc test/collect",
+ exit_code: 0,
+ output: "test/collect2.out",
+});
+
+itest!(test_with_malformed_config {
+ args: "test --config test/collect/deno.malformed.jsonc",
+ exit_code: 1,
+ output: "test/collect_with_malformed_config.out",
+});
+
itest!(jobs_flag {
args: "test test/short-pass.ts --jobs",
exit_code: 0,