Skip to content

Commit

Permalink
Dev: Jest config coverage filter
Browse files Browse the repository at this point in the history
  • Loading branch information
overlookmotel committed Apr 28, 2019
1 parent f953d8a commit 1a7a631
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion jest.config.js
Expand Up @@ -2,5 +2,14 @@

module.exports = {
testEnvironment: 'node',
setupTestFrameworkScriptFile: 'jest-extended'
setupTestFrameworkScriptFile: 'jest-extended',
coverageDirectory: 'coverage',
collectCoverageFrom: [
'**/*.js',
'!.**',
'!**/.**',
'!**/node_modules/**',
'!test/**',
'!jest.config.js'
]
};

0 comments on commit 1a7a631

Please sign in to comment.