Trivial: Ignore the jest setup file when calculating test coverage. (#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.
This commit is contained in:
Justin Morris
2017-09-15 12:02:09 +10:00
parent 88131ca16a
commit b0cc71e3d0

View File

@@ -91,6 +91,12 @@
],
"coverageDirectory": "./coverage/",
"collectCoverage": true,
"collectCoverageFrom": [
"src/**/*.js"
],
"coveragePathIgnorePatterns": [
"jest-setup.js"
],
"modulePathIgnorePatterns": [
"examples"
]