Skip to content

Instantly share code, notes, and snippets.

@luzeduardo
Created September 12, 2018 22:12
Show Gist options
  • Save luzeduardo/0bb0fc35076db9dc60e1534b6bafee24 to your computer and use it in GitHub Desktop.
Save luzeduardo/0bb0fc35076db9dc60e1534b6bafee24 to your computer and use it in GitHub Desktop.
Jest coverage conf
"scripts": {
"lint": "eslint src/**",
"test": "jest src",
"coverage": "jest --collectCoverageFrom=src/**.js --collectCoverageFrom=!src/index.js --coverage src"
},
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment