Skip to content

Commit

Permalink
feat(cli): remove validation for --coverage-report
Browse files Browse the repository at this point in the history
this allows for custom nyc coverage report packages to be used

PR-URL: #817
Credit: @ahmadnassri
Close: #817
Reviewed-by: @isaacs
  • Loading branch information
Ahmad Nassri authored and isaacs committed May 4, 2022
1 parent dd2ed0c commit e3695ec
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bin/jack.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ Much more documentation available at: https://www.node-tap.org/

'coverage-report': list({
hint: 'type',
valid: nycReporters,
description: `Output coverage information using the
specified istanbul/nyc reporter type.
Expand All @@ -390,7 +389,7 @@ Much more documentation available at: https://www.node-tap.org/
This can be run on its own at any time
after a test run that included coverage.
Available NYC reporters:
Built-in NYC reporters:
${nycReporters.join(' ')}`,
}),

Expand Down

0 comments on commit e3695ec

Please sign in to comment.