Skip to content

Commit 4f2ef17

Browse files
committed
[Tests] fix unit-test script for real
1 parent f06362b commit 4f2ef17

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"coveralls": "cat ./reports/coverage/lcov.info | coveralls",
99
"lint": "eslint ./",
1010
"pretest": "npm run lint",
11-
"test": "npm run unit-test",
12-
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot"
11+
"test": "npm run unit-test 'tests/**/*.js'",
12+
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha"
1313
},
1414
"files": [
1515
"LICENSE",

tests/mocha.opts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
--reporter dot

0 commit comments

Comments
 (0)