Skip to content

Commit

Permalink
test: Improves test coverage
Browse files Browse the repository at this point in the history
Well, it's more like this makes jest not report coverage of files we
don't care about, i.e. transpiled files from linked packages.
  • Loading branch information
kwltrs committed Mar 13, 2018
1 parent 37a2255 commit 019a7c2
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@
"webpack": "^3.8.1"
},
"jest": {
"setupTestFrameworkScriptFile": "./test-setup.js"
"setupTestFrameworkScriptFile": "./test-setup.js",
"coveragePathIgnorePatterns": [
"/node_modules/",
"<rootDir>/packages/.*/lib/"
]
}
}

0 comments on commit 019a7c2

Please sign in to comment.