From 70d1ecaeaa7843b37e8ea5161b24988813b2f543 Mon Sep 17 00:00:00 2001 From: Roj Date: Mon, 18 Jul 2022 22:12:19 +0300 Subject: feat(cli): support configuring the test tool in the config file (#15079) --- cli/tests/integration/test_tests.rs | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'cli/tests/integration') 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, -- cgit v1.2.3