Skip to content

Commit 0a493fb

Browse files
chore: fix test config to include skipped tests (#287)
The test config was only running tests that were in directories within the `test/unit` directory. Now those tests as well as test files in the `test/unit` directory itself are run.
1 parent d8a70ee commit 0a493fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"lint": "eslint samples/ && gts check && jsgl --local .",
2626
"presystem-test": "npm run compile",
2727
"system-test": "nyc --exclude=\"error-message.js\" mocha build/system-test/**/*.js",
28-
"cover": "nyc --exclude=\"fuzzer.js\" --reporter=lcov mocha build/test/unit/**/*.js && nyc report",
28+
"cover": "nyc --exclude=\"fuzzer.js\" --reporter=lcov mocha build/test/unit/*.js build/test/unit/**/*.js && nyc report",
2929
"presamples-test": "npm run compile",
3030
"samples-test": "cd samples/ && npm link ../ && npm test && cd ../",
3131
"test-no-cover": "mocha build/test/unit/**/*.js --timeout 20000",

0 commit comments

Comments
 (0)