Skip to content

Commit 56719d4

Browse files
committed
chore: add --all flag to coverage commands
Ensures coverage reports include all source files, not just those that are tested. This provides a more accurate picture of overall code coverage.
1 parent 7765477 commit 56719d4

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,8 +386,8 @@
386386
"lint": "eslint . --ext .ts --config .eslintrc.cjs",
387387
"lint:fix": "eslint . --ext .ts --config .eslintrc.cjs --fix --quiet",
388388
"lint:fix:all": "eslint . --ext .ts --config .eslintrc.cjs --fix",
389-
"coverage": "c8 --reporter=lcov --reporter=text-summary npm run test",
390-
"coverage:html": "c8 --reporter=html --reporter=text-summary npm run test",
389+
"coverage": "c8 --all --reporter=lcov --reporter=text-summary npm run test",
390+
"coverage:html": "c8 --all --reporter=html --reporter=text-summary npm run test",
391391
"create-shrinkwrap": "npm shrinkwrap",
392392
"prepublishOnly": "npm run create-shrinkwrap",
393393
"postpublish": "rm -f oclif.manifest.json",

0 commit comments

Comments
 (0)