diff options
author | evan <github@evan.lol> | 2022-04-22 14:43:22 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-22 13:43:22 +0200 |
commit | 6fad5c33c9dd51a2cb2c1ba1be5312f46835b6c4 (patch) | |
tree | 00380f82137289f06edd5bbaffa824027650b403 /cli/tests/integration | |
parent | 57f7e07c13a1a692602022af4fc32c6ac352bb72 (diff) |
fix(bench): reset reporter context (#14360)
This commit fixes previous file benchmarks leaking into the next file benchmarks summary.
Diffstat (limited to 'cli/tests/integration')
-rw-r--r-- | cli/tests/integration/bench_tests.rs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cli/tests/integration/bench_tests.rs b/cli/tests/integration/bench_tests.rs index 928f08bea..c646691dc 100644 --- a/cli/tests/integration/bench_tests.rs +++ b/cli/tests/integration/bench_tests.rs @@ -75,6 +75,12 @@ itest!(only { output: "bench/only.out", }); +itest!(multifile_summary { + args: "bench --unstable bench/pass.ts bench/group_baseline.ts", + exit_code: 0, + output: "bench/multifile_summary.out", +}); + itest!(no_check { args: "bench --unstable --no-check bench/no_check.ts", exit_code: 1, |