Skip to content

Commit b05f550

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

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
@@ -71,7 +71,7 @@
7171
},
7272
"scripts": {
7373
"action:test": "NODE_ENV=test node node_modules/mocha/bin/mocha test/unit-tests --recursive --exit",
74-
"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",
74+
"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",
7575
"action:lint-src": "node node_modules/eslint/bin/eslint.js src/",
7676
"action:lint-test": "node node_modules/eslint/bin/eslint.js test/",
7777
"action:lint-test-utils": "node node_modules/eslint/bin/eslint.js test-utils/",

0 commit comments

Comments
 (0)