Skip to content

Commit

Permalink
Instrumment all sources for coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
lo1tuma committed Aug 19, 2015
1 parent ffca8cc commit 96557ca
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
19 changes: 19 additions & 0 deletions .istanbul.yml
@@ -0,0 +1,19 @@
instrumentation:
root: .
default-excludes: true
excludes:
- '.idea/**'
- 'build/**'
embed-source: false
complete-copy: false
include-all-sources: true
reporting:
print: summary
reporty:
- lcov
dir: ./build/coverage
watermarks:
statements: [99, 100]
lines: [99, 100]
functions: [99, 100]
branches: [99, 100]
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"pretest": "eslint .",
"test": "npm run test:unit --coverage && npm run check-coverage",
"test:unit": "istanbul test --dir build/coverage _mocha test -- --recursive --reporter dot",
"test:unit": "istanbul test _mocha test -- --recursive --reporter dot",
"check-coverage": "istanbul check-coverage --statement 100 --branch 100 --function 100 --lines 100",
"coveralls": "cat ./build/coverage/lcov.info | coveralls",
"changelog": "pr-log"
Expand Down

0 comments on commit 96557ca

Please sign in to comment.