Skip to content

Commit

Permalink
chore: fix coverage results for all packages (#11)
Browse files Browse the repository at this point in the history
  • Loading branch information
JaKXz authored and bcoe committed Mar 21, 2017
1 parent 3a38ff2 commit 0042329
Show file tree
Hide file tree
Showing 6 changed files with 2,135 additions and 6 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ docs/
.nyc_output
dist
lerna-debug.log
packages/*/yarn.lock
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 0042329

Please sign in to comment.