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

Switch to a text summary reporter for JavaScript test coverage. #349

Merged
merged 1 commit into from
Sep 7, 2024

Conversation

tristandunn
Copy link
Owner

The file list is nice when test coverage is missing, but when at 100% it's not very informative.

Before

$ yarn test:coverage


  ........................................................

  56 passing (176ms)

------------------------------------------|---------|----------|---------|---------|-------------------
File                                      | % Stmts | % Branch | % Funcs | % Lines | Uncovered Line #s
------------------------------------------|---------|----------|---------|---------|-------------------
------------------------------------------|---------|----------|---------|---------|-------------------

After

$ yarn test:coverage


  ........................................................

  56 passing (177ms)


=============================== Coverage summary ===============================
Statements   : 100% ( 1089/1089 )
Branches     : 100% ( 191/191 )
Functions    : 100% ( 24/24 )
Lines        : 100% ( 1089/1089 )
================================================================================

@tristandunn tristandunn added the miscellaneous Clean up, dependencies, etc. label Sep 7, 2024
@tristandunn tristandunn marked this pull request as ready for review September 7, 2024 23:22
@tristandunn tristandunn merged commit e8b20a7 into main Sep 7, 2024
5 checks passed
@tristandunn tristandunn deleted the td-js-coverage branch September 7, 2024 23:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
miscellaneous Clean up, dependencies, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant