Skip to content

Commit 22942ff

Browse files
fix: make action:coverage just run test action w/ nyc
Signed-off-by: Andrew Lilley Brinker <abrinker@mitre.org>
1 parent 9e0a3d1 commit 22942ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
},
6767
"scripts": {
6868
"action:test": "NODE_ENV=test node node_modules/mocha/bin/mocha test/unit-tests --recursive --exit",
69-
"action:coverage": "NODE_ENV=test MONGO_CONN_STRING=mongodb://localhost:27017 MONGO_DB_NAME=cve_test node node_modules/nyc/bin/nyc.js --lines=80 node_modules/mocha/bin/mocha.js src/* --ignore src/scripts/* --recursive --exit",
69+
"action:coverage": "NODE_ENV=test MONGO_CONN_STRING=mongodb://localhost:27017 MONGO_DB_NAME=cve_test node node_modules/nyc/bin/nyc.js --lines=80 npm run test",
7070
"action:lint-src": "node node_modules/eslint/bin/eslint.js src/",
7171
"action:lint-test": "node node_modules/eslint/bin/eslint.js test/",
7272
"action:lint-test-utils": "node node_modules/eslint/bin/eslint.js test-utils/",

0 commit comments

Comments
 (0)