Permalink
Browse files

Switch to Istanbul for code coverage.

  • Loading branch information...
1 parent fe57bce commit a803afa74cb329c71c12ee291718091d46c33140 @domenic committed Oct 5, 2014
Showing with 4 additions and 6 deletions.
  1. +0 −1 .coverignore
  2. +1 −3 .gitignore
  3. +1 −0 lib/sinon-chai.js
  4. +2 −2 package.json
View
@@ -1 +0,0 @@
-test/
View
@@ -1,6 +1,4 @@
/node_modules/
/npm-debug.log
-/.coverage_data/
-/.coverage_debug/
-/cover_html/
+/coverage/
View
@@ -3,6 +3,7 @@
// Module systems magic dance.
+ /* istanbul ignore else */
if (typeof require === "function" && typeof exports === "object" && typeof module === "object") {
// NodeJS
module.exports = sinonChai;
View
@@ -21,7 +21,7 @@
"scripts": {
"test": "mocha",
"lint": "jshint ./lib",
- "cover": "cover run node_modules/mocha/bin/_mocha && cover report html && opener ./cover_html/index.html"
+ "cover": "istanbul cover node_modules/mocha/bin/_mocha && opener ./coverage/lcov-report/lib/sinon-chai.js.html"
},
"peerDependencies": {
"chai": ">=1.9.2 <2",
@@ -30,7 +30,7 @@
"devDependencies": {
"chai": "^1.9.2",
"coffee-script": "~1.8.0",
- "cover": "~0.2.9",
+ "istanbul": "~0.3.2",
"jshint": "^2.5.6",
"mocha": "^1.21.4",
"opener": "^1.4.0",

0 comments on commit a803afa

Please sign in to comment.