Skip to content

Commit

Permalink
Enable coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
gberaudo committed Dec 18, 2018
1 parent 559e992 commit 96db2d4
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/node_modules/
/package-lock.json
/dist/
/coverage/
10 changes: 10 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,14 @@
module.exports = {
collectCoverage: true,
coverageThreshold: {
global: {
branches: 100,
functions: 100,
lines: 100,
statements: -0
}
},
collectCoverageFrom: ['src/**/*.{js,ts}'],
transform: {
'.*': 'babel-jest'
},
Expand Down

0 comments on commit 96db2d4

Please sign in to comment.