Update jest config to show coverage for correct folders (#8069)
This commit is contained in:
parent
f3de4445c2
commit
8c44c54448
1 changed files with 1 additions and 0 deletions
|
|
@ -15,6 +15,7 @@ module.exports = {
|
|||
collectCoverageFrom: ['app/**/*.{js,jsx,ts,tsx}'],
|
||||
coverageReporters: ['lcov', 'text-summary'],
|
||||
testPathIgnorePatterns: ['/node_modules/'],
|
||||
coveragePathIgnorePatterns: ['/node_modules/', '/components/', '/screens/'],
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!' +
|
||||
'(@react-native|react-native)|' +
|
||||
|
|
|
|||
Loading…
Reference in a new issue