Skip to content

Commit

Permalink
Merge pull request #823 from KingHenne/fix/nyc-config
Browse files Browse the repository at this point in the history
Exclude test files from coverage reports
  • Loading branch information
ianwsperber committed Feb 9, 2017
2 parents 58b04e3 + 2ae0f25 commit 2318034
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion package.json
Expand Up @@ -202,7 +202,7 @@
},
"scripts": {
"test": "tap --harmony ./tests/test_*.js",
"coverage": "nyc --reporter=lcov tap --harmony ./tests/test_*.js",
"coverage": "nyc tap --harmony ./tests/test_*.js",
"coveralls": "cat ./coverage/lcov.info | coveralls",
"jshint": "jshint lib/*.js",
"changelog": "changelog nock all -m > CHANGELOG.md",
Expand All @@ -212,5 +212,14 @@
"jshint",
"coverage"
],
"nyc": {
"reporter": [
"lcov",
"text-summary"
],
"exclude": [
"tests/test_*.js"
]
},
"license": "MIT"
}

0 comments on commit 2318034

Please sign in to comment.