Skip to content

Instantly share code, notes, and snippets.

@thomashagstrom
Created January 11, 2019 22:42
Show Gist options
  • Save thomashagstrom/2c2db0c6ca05fb5df1c71df00e102a11 to your computer and use it in GitHub Desktop.
Save thomashagstrom/2c2db0c6ca05fb5df1c71df00e102a11 to your computer and use it in GitHub Desktop.
Jest code coverage
module.exports = {
collectCoverage: true,
collectCoverageFrom: [
"**/*.{ts,tsx}",
"!**/node_modules/**",
"!**/vendor/**",
"!**/__mocks__/**",
"!**/__snapshots__/**",
"!**/android/**",
"!**/ios/**",
"!**/config/**",
"!**/build/**",
"!**/lib/**",
]
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment