Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Fancy coverage reports #27

Merged
merged 2 commits into from
Jan 24, 2024
Merged

chore: Fancy coverage reports #27

merged 2 commits into from
Jan 24, 2024

Conversation

danvk
Copy link
Owner

@danvk danvk commented Jan 24, 2024

Overview

Fixes #24

This was a real trip down memory lane. There has been a release of istanbul-reports since 2021 and vitest seems to use it istanbuljs/istanbuljs#597

pnpm coverage
open coverage/index.html

Shows code coverage sorted by missing statements, just how I like it:

image showing coverage reports sorted by missing lines

Copy link

Uh oh! @danvk, the image you shared is missing helpful alt text. Check your pull request body.

Alt text is an invisible description that helps screen readers describe images to blind or low-vision users. If you are using markdown to display images, add your alt text inside the brackets of the markdown image.

Learn more about alt text at Basic writing and formatting syntax: images on GitHub Docs.

Copy link

codecov bot commented Jan 24, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2805056) 97.44% compared to head (1f193a5) 97.44%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #27   +/-   ##
=======================================
  Coverage   97.44%   97.44%           
=======================================
  Files          15       15           
  Lines        1722     1722           
  Branches      269      269           
=======================================
  Hits         1678     1678           
  Misses         43       43           
  Partials        1        1           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danvk danvk merged commit 74d7562 into main Jan 24, 2024
15 checks passed
@danvk danvk deleted the fancy-coverage branch January 24, 2024 17:40
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.

🛠 Tooling: Set up pnpm coverage the way I like it
1 participant