Skip to content

Commit

Permalink
chore: fix coverage results for all packages
Browse files Browse the repository at this point in the history
also address issue with istanbul-api package, hopefully
  • Loading branch information
JaKXz committed Mar 20, 2017
1 parent 3a38ff2 commit c2a436d
Show file tree
Hide file tree
Showing 5 changed files with 2,134 additions and 6 deletions.
11 changes: 11 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,16 @@
"cross-env": "^3.2.3",
"lerna": "^2.0.0-beta.38-31-g0749ea6",
"nyc": "^10.2.0-candidate.0"
},
"nyc": {
"exclude": [
"**/test/**",
"**/dist/**",
"**/bin/**"
],
"reporter": [
"text",
"lcov"
]
}
}
4 changes: 2 additions & 2 deletions packages/istanbul-api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
"description": "High level API for istanbul features",
"main": "index.js",
"scripts": {
"fast": "mocha --slow 1000 test/",
"fast": "mocha --slow 1000",
"pretest": "jshint index.js lib/ test/",
"test": "mocha --require=test/short-circuit -- --slow 2000 -t 10000 test/"
"test": "mocha"
},
"repository": {
"type": "git",
Expand Down
2 changes: 2 additions & 0 deletions packages/istanbul-api/test/mocha.opts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--slow 2000
-t 10000
4 changes: 0 additions & 4 deletions packages/istanbul-api/test/short-circuit.js

This file was deleted.

0 comments on commit c2a436d

Please sign in to comment.