Skip to content

fix(vitest): preserve explicit reporters#2294

Open
jsiu93 wants to merge 1 commit into
rtk-ai:developfrom
jsiu93:fix/vitest-reporter-passthrough
Open

fix(vitest): preserve explicit reporters#2294
jsiu93 wants to merge 1 commit into
rtk-ai:developfrom
jsiu93:fix/vitest-reporter-passthrough

Conversation

@jsiu93
Copy link
Copy Markdown
Contributor

@jsiu93 jsiu93 commented Jun 6, 2026

Closes #2233.

Summary

  • Preserve explicit Vitest --reporter arguments instead of replacing them with --reporter=json.
  • Bypass Vitest summary compression when the user requested a reporter, so verbose per-test output remains visible.
  • Keep the default compact JSON reporter path unchanged when no reporter is specified.

Test plan

  • cargo fmt --all -- --check
  • cargo clippy --all-targets
  • cargo test --quiet vitest_cmd::tests
  • cargo test --all --quiet

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

rtk vitest filter is not --reporter-aware: --reporter=verbose is ignored and output collapses to PASS/FAIL counts

1 participant