diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-03 04:05:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-02 22:05:34 -0400 |
commit | db287e216dd752bfcb3484cbfd93225e8463c363 (patch) | |
tree | 11c5cf2e8be82fae5674949747e1b7691252ee3b /cli/args/mod.rs | |
parent | 480894e5c8f9532a4c42477cdf5c058cb8e9e1e3 (diff) |
refactor: use '--reporter' and '--junit-path' flags for 'deno test' (#20031)
This commit adds "--reporter" and "--junit-path" flags to "deno test"
subcommand instead of using "--dot" and "--junit" flags.
Diffstat (limited to 'cli/args/mod.rs')
-rw-r--r-- | cli/args/mod.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/args/mod.rs b/cli/args/mod.rs index eb7eea44f..cea0c0ca1 100644 --- a/cli/args/mod.rs +++ b/cli/args/mod.rs @@ -228,6 +228,7 @@ pub struct TestOptions { pub concurrent_jobs: NonZeroUsize, pub trace_ops: bool, pub reporter: TestReporterConfig, + pub junit_path: Option<String>, } impl TestOptions { @@ -253,6 +254,7 @@ impl TestOptions { shuffle: test_flags.shuffle, trace_ops: test_flags.trace_ops, reporter: test_flags.reporter, + junit_path: test_flags.junit_path, }) } } |