Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix: update coverage:verify script to specify temp-dir for NYC report…
… cause it uses cwd as default folder also for temp-dir
  • Loading branch information
alecmestroni committed Aug 20, 2025
commit b0d74cbf4bcc3b0734d960409012a87e224fbee0
2 changes: 1 addition & 1 deletion test-apps/all-files-cwd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"start:windows": "npx bin-up parcel serve ../all-files/index.html",
"pretest": "rimraf .nyc_output .cache coverage dist",
"test": "start-test 1234 cy:run",
"coverage:verify": "npx nyc report --check-coverage true --lines 100",
"coverage:verify": "npx nyc report --temp-dir ../all-files-cwd/.nyc_output --check-coverage true --lines 100",
"coverage:check-files": "check-coverage main.js && check-coverage second.js && check-coverage not-covered.js && check-coverage cypress.config.js && only-covered --from coverage/coverage-final.json main.js second.js not-covered.js cypress.config.js"
},
"nyc": {
Expand Down