From 6fad5c33c9dd51a2cb2c1ba1be5312f46835b6c4 Mon Sep 17 00:00:00 2001 From: evan Date: Fri, 22 Apr 2022 14:43:22 +0300 Subject: fix(bench): reset reporter context (#14360) This commit fixes previous file benchmarks leaking into the next file benchmarks summary. --- cli/tests/integration/bench_tests.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'cli/tests/integration') 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, -- cgit v1.2.3