Skip to content

Commit

Permalink
Trivial: Ignore the jest setup file when calculating test coverage. (r…
Browse files Browse the repository at this point in the history
…eact-navigation#2579)

* Ignore the jest setup file when calculating test coverage.

* Actually collect coverage from the whole library codebase so that the numbers are actually useful.
  • Loading branch information
plasticine authored and spencercarli committed Sep 15, 2017
1 parent 2716fe4 commit ee2e27c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,12 @@
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"jest-setup.js"
],
"modulePathIgnorePatterns": [
"examples"
]
Expand Down

0 comments on commit ee2e27c

Please sign in to comment.