-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.js
14 lines (14 loc) · 1.02 KB
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* eslint-disable functional/immutable-data */
/* eslint-disable max-len */
// eslint-disable-next-line no-undef
module.exports = {
maxWorkers: '50%',
preset: 'jest-expo/universal',
// setupFilesAfterEnv: ['./jest.setup.ts'],
rootDir: 'src',
// transformIgnorePatterns:
// ['node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|native-base|react-native-svg|@react-native/js-polyfills)'],
/* transformIgnorePatterns: [
'node_modules/(?!(jest-)?react-native|react-clone-referenced-element|@bugsnag|@react-native-community|localforage-expo-filesystem-driver|victory-.*|victory-shared-events|victory-area|victory-bar|victory-native|victory-core|@react-native-seoul|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|unimodules|sentry-expo|expo-modules-core|jest-runner|@react-native/normalize-color|native-base|@react-native/polyfills|@sentry/.*)',
], */
}