Benchmark doesn't print a table if terminal doesn't support TTY (in CI for example) #5475
Closed
6 tasks done
Labels
feat: benchmark
Issues and PRs related to the benchmark feature
p3-minor-bug
An edge case that only affects very specific usage (priority)
Describe the bug
If
isTTY
in the reporter is not defined or equal tofalse
, then Vitest doesn't print a table with benchmark results like it does when it'strue
.Reproduction
https://github.com/vitest-dev/vitest/blob/main/test/benchmark
Run
CI=true vitest bench --run --reporter=default
Note that summery there is also not correct:
System Info
Used Package Manager
npm
Validations
The text was updated successfully, but these errors were encountered: