1
1
mirror of https://github.com/theoludwig/p61-project.git synced 2024-07-17 07:00:12 +02:00
p61-project/jest.config.json

26 lines
796 B
JSON
Raw Normal View History

2024-02-16 22:51:50 +01:00
{
"preset": "jest-expo",
"roots": ["./"],
2024-05-02 01:08:27 +02:00
"setupFilesAfterEnv": ["<rootDir>/tests/setup.ts"],
2024-02-16 22:51:50 +01:00
"fakeTimers": {
"enableGlobally": true
},
"collectCoverage": false,
2024-02-16 22:51:50 +01:00
"coverageDirectory": "coverage",
"coverageReporters": ["text", "text-summary", "cobertura"],
"collectCoverageFrom": [
"<rootDir>/**/*.{ts,tsx}",
2024-05-02 23:48:47 +02:00
"!<rootDir>/tests/**/*",
"!<rootDir>/domain/repositories/**/*",
"!<rootDir>/infrastructure/instances.ts",
"!<rootDir>/infrastructure/supabase/supabase-types.ts",
"!<rootDir>/infrastructure/supabase/supabase.ts",
2024-05-02 01:08:27 +02:00
"!<rootDir>/presentation/react-native/ui/ExternalLink.tsx",
2024-05-02 23:48:47 +02:00
"!<rootDir>/presentation/react/contexts/**/*",
2024-02-16 22:51:50 +01:00
"!<rootDir>/.expo",
"!<rootDir>/app/+html.tsx",
"!<rootDir>/app/**/_layout.tsx",
"!**/*.d.ts"
]
}