Skip to content

Commit

Permalink
[Tests] fix unit-test script for real
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 3, 2018
1 parent f06362b commit 4f2ef17
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
"coveralls": "cat ./reports/coverage/lcov.info | coveralls",
"lint": "eslint ./",
"pretest": "npm run lint",
"test": "npm run unit-test",
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha tests/**/*.js -- --reporter dot"
"test": "npm run unit-test 'tests/**/*.js'",
"unit-test": "istanbul cover --dir reports/coverage node_modules/mocha/bin/_mocha"
},
"files": [
"LICENSE",
Expand Down
1 change: 1 addition & 0 deletions tests/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--reporter dot

0 comments on commit 4f2ef17

Please sign in to comment.