2024-02-16 22:51:50 +01:00
|
|
|
{
|
|
|
|
"preset": "jest-expo",
|
|
|
|
"roots": ["./"],
|
2024-03-16 00:36:44 +01:00
|
|
|
"setupFilesAfterEnv": ["@testing-library/react-native/extend-expect"],
|
2024-02-16 22:51:50 +01:00
|
|
|
"fakeTimers": {
|
|
|
|
"enableGlobally": true
|
|
|
|
},
|
2024-03-23 01:18:46 +01:00
|
|
|
"collectCoverage": false,
|
2024-02-16 22:51:50 +01:00
|
|
|
"coverageDirectory": "coverage",
|
|
|
|
"coverageReporters": ["text", "text-summary", "cobertura"],
|
|
|
|
"collectCoverageFrom": [
|
|
|
|
"<rootDir>/**/*.{ts,tsx}",
|
2024-03-16 00:36:44 +01:00
|
|
|
"!<rootDir>/presentation/react/components/ExternalLink.tsx",
|
2024-02-16 22:51:50 +01:00
|
|
|
"!<rootDir>/.expo",
|
|
|
|
"!<rootDir>/app/+html.tsx",
|
|
|
|
"!<rootDir>/app/**/_layout.tsx",
|
|
|
|
"!**/*.d.ts"
|
|
|
|
]
|
|
|
|
}
|