Skip to content

fix(lib-report): replace empty skipFull tables with a fully-covered summary - #16

Merged
AriPerkkio merged 5 commits into
vitest-dev:mainfrom
ashwinmridul:fix/text-skip-full-empty-table
Sep 27, 2026
Merged

AriPerkkio merged 5 commits into
vitest-dev:mainfrom
ashwinmridul:fix/text-skip-full-empty-table

Conversation

@ashwinmridul

Copy link
Copy Markdown
Contributor

Summary

Test plan

  • pnpm exec vitest run --project @vitest/istanbul-lib-report --coverage.enabled=false (155 tests)
  • Confirm agent runs (CLAUDECODE=1 vitest run --coverage) no longer print an empty coverage table when coverage is 100%

Fixes vitest-dev/vitest#11186

@pkg-pr-new

pkg-pr-new Bot commented Sep 17, 2026 •

Copy link
Copy Markdown
npm i https://pkg.pr.new/@vitest/istanbul-lib-coverage@97e0de5
npm i https://pkg.pr.new/@vitest/istanbul-lib-instrument@97e0de5
npm i https://pkg.pr.new/@vitest/istanbul-lib-report@97e0de5
npm i https://pkg.pr.new/@vitest/istanbul-lib-source-maps@97e0de5

commit: 97e0de5

@AriPerkkio AriPerkkio changed the title fix(text): replace empty skipFull tables with a fully-covered summary fix(lib-report): replace empty skipFull tables with a fully-covered summary Sep 17, 2026

@AriPerkkio AriPerkkio left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

Applied few fixes to handle other cases too.

@AriPerkkio
AriPerkkio merged commit 9a3f09a into vitest-dev:main Sep 27, 2026
6 checks passed
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.

Coverage text reporter prints an empty table frame under agent detection when every file is 100% covered

2 participants