summaryrefslogtreecommitdiff
path: root/cli/tests/integration/bench_tests.rs
diff options
context:
space:
mode:
authorevan <github@evan.lol>2022-04-22 14:43:22 +0300
committerGitHub <noreply@github.com>2022-04-22 13:43:22 +0200
commit6fad5c33c9dd51a2cb2c1ba1be5312f46835b6c4 (patch)
tree00380f82137289f06edd5bbaffa824027650b403 /cli/tests/integration/bench_tests.rs
parent57f7e07c13a1a692602022af4fc32c6ac352bb72 (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/bench_tests.rs')
-rw-r--r--cli/tests/integration/bench_tests.rs6
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,