Skip to content

Commit 3556073

Browse files
committed
npm: use separate scripts for different test reporters
1 parent 1d045af commit 3556073

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77
},
88
"description": "Algorithms and data structures implemented in JavaScript",
99
"scripts": {
10-
"test": "concurrently \"npm run lint-test\" \"npm run unit-test\"",
11-
"unit-test": "node --test --test-reporter dot",
10+
"test": "concurrently \"npm run lint-test\" \"npm run unit-test-dot\"",
11+
"unit-test-spec": "node --test --test-reporter spec",
12+
"unit-test-dot": "node --test --test-reporter dot",
1213
"lint-test": "standard .",
1314
"build-jsdoc": "./node_modules/.bin/jsdoc --readme ./README.md --configure ./jsdoc.json --destination ./docs --recurse .",
1415
"prepare": "husky install"

0 commit comments

Comments
 (0)