Skip to content

Commit

Permalink
fix: empty coverage with jest
Browse files Browse the repository at this point in the history
  • Loading branch information
sorrycc committed Nov 19, 2015
1 parent dd9c0ad commit 0dc39fc
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.idea
tmp
node_modules
coverage

1 change: 1 addition & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
.idea
tmp
node_modules
coverage
__tests__
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@
"testPathDirs": [
"<rootDir>/src"
],
"collectCoverageOnlyFrom": {
"src/index.js": true
},
"unmockedModulePathPatterns": [],
"verbose": true
},
Expand Down

0 comments on commit 0dc39fc

Please sign in to comment.