mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Lots of updates
This commit is contained in:
31
jest.config.js
Normal file
31
jest.config.js
Normal file
@ -0,0 +1,31 @@
|
||||
module.exports = {
|
||||
preset: 'jest-expo',
|
||||
collectCoverage: true,
|
||||
collectCoverageFrom: [
|
||||
'src /**/*.{ts,tsx}',
|
||||
'!**/coverage /**',
|
||||
'!**/node_modules /**',
|
||||
'!**/app.config.ts',
|
||||
'!**/babel.config.js',
|
||||
'!**/jest.setup.ts'
|
||||
],
|
||||
setupFiles: [
|
||||
'<rootDir>/jest/async-storage.js',
|
||||
'<rootDir>/jest/react-native.js',
|
||||
'<rootDir>/jest/react-navigation.js'
|
||||
],
|
||||
transformIgnorePatterns: [
|
||||
'node_modules/(?!(jest-)?react-native' +
|
||||
'|react-clone-referenced-element' +
|
||||
'|@react-native-community' +
|
||||
'|expo(nent)?' +
|
||||
'|@expo(nent)?/.*' +
|
||||
'|react-navigation' +
|
||||
'|@react-navigation/.*|@unimodules/.*|unimodules' +
|
||||
'|sentry-expo' +
|
||||
'|native-base' +
|
||||
'|@sentry/.*' +
|
||||
'|redux-persist-expo-securestore' +
|
||||
')'
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user