Update jest config to show coverage for correct folders (#8069)

This commit is contained in:
Joram Wilander 2024-07-09 08:58:46 -04:00 committed by GitHub
parent f3de4445c2
commit 8c44c54448
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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)|' +