Skip to content

Commit

Permalink
Exclude lib from coverage
Browse files Browse the repository at this point in the history
Because code won’t be executed by JavaScript but by osascript.
  • Loading branch information
mischah committed Nov 8, 2015
1 parent b100fd7 commit 283e17c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"scripts": {
"lint": "xo",
"test": "mocha",
"posttest": "npm run lint",
"posttest": "npm run lint && npm run coverage",
"coverage": "mocha -r blanket -R html-cov > coverage.html",
"coveralls": "NODE_ENV=test YOURPACKAGE_COVERAGE=1 mocha --require blanket --reporter mocha-lcov-reporter | coveralls"
},
Expand Down Expand Up @@ -66,7 +66,8 @@
"lib"
],
"data-cover-never": [
"node_modules"
"node_modules",
"lib"
]
}
}
Expand Down

0 comments on commit 283e17c

Please sign in to comment.