@@ -2,11 +2,35 @@ module.exports = {
22 preset : 'jest-expo' ,
33 setupFilesAfterEnv : [ '<rootDir>/jest-setup.ts' ] ,
44 testMatch : [ '**/?(*.)+(spec|test).ts?(x)' ] ,
5- collectCoverageFrom : [ 'src/**/*.{ts,tsx}' , '!**/coverage/**' , '!**/node_modules/**' , '!**/babel.config.js' , '!**/jest.setup.js' , '!**/docs/**' , '!**/cli/**' ] ,
5+ collectCoverage : true ,
6+ collectCoverageFrom : [ 'src/**/*.{ts,tsx}' , '!**/coverage/**' , '!**/node_modules/**' , '!**/babel.config.js' , '!**/jest.setup.js' , '!**/docs/**' , '!**/cli/**' , '!**/ios/**' , '!**/android/**' ] ,
67 moduleFileExtensions : [ 'js' , 'ts' , 'tsx' ] ,
78 moduleDirectories : [ 'node_modules' , '<rootDir>/' ] ,
89 transformIgnorePatterns : [
9- `node_modules/(?!(?:.pnpm/)?((jest-)?react-native|@react-native(-community)?|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|@sentry/.*|native-base|react-native-svg|@gluestack-ui/.*|lucide-react-native|@tanstack/.*|moti|nativewind|tailwind-variants|@react-native-aria/.*))` ,
10+ 'node_modules/(?:\.pnpm|\.store)' ,
11+ 'node_modules/(?!jest-react-native)' ,
12+ 'node_modules/(?!react-native)' ,
13+ 'node_modules/(?!@react-native)' ,
14+ 'node_modules/(?!@react-native-community)' ,
15+ 'node_modules/(?!expo)' ,
16+ 'node_modules/(?!exponent)' ,
17+ 'node_modules/(?!@expo)' ,
18+ 'node_modules/(?!@exponent)' ,
19+ 'node_modules/(?!@expo-google-fonts)' ,
20+ 'node_modules/(?!react-navigation)' ,
21+ 'node_modules/(?!@react-navigation)' ,
22+ 'node_modules/(?!@unimodules)' ,
23+ 'node_modules/(?!unimodules)' ,
24+ 'node_modules/(?!@sentry)' ,
25+ 'node_modules/(?!native-base)' ,
26+ 'node_modules/(?!react-native-svg)' ,
27+ 'node_modules/(?!lucide-react-native)' ,
28+ 'node_modules/(?!@tanstack)' ,
29+ 'node_modules/(?!moti)' ,
30+ 'node_modules/(?!nativewind)' ,
31+ 'node_modules/(?!tailwind-variants)' ,
32+ 'node_modules/(?!@react-native-aria)' ,
33+ 'node_modules/(?!@gluestack-ui)' ,
1034 ] ,
1135 coverageReporters : [ 'json-summary' , [ 'text' , { file : 'coverage.txt' } ] ] ,
1236 reporters : [
0 commit comments