forked from BirthdayResearch/defichain-wallet
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjest.config.js
29 lines (29 loc) · 919 Bytes
/
jest.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
preset: "jest-expo",
transform: {
"\\.[jt]sx?$": "babel-jest",
},
testPathIgnorePatterns: ["mobile-app/cypress/.*"],
collectCoverageFrom: [
"**/*.{js,jsx,ts,tsx}",
"!**/*.test.{js,jsx,ts,tsx}",
"!**/.github/**",
"!**/.husky/**",
"!**/.idea/**",
"!**/coverage/**",
"!**/cypress/**",
"!**/node_modules/**",
"!**/web-build/**",
"!**/*.config.js",
"!**/.versionrc.js",
"!**/_shim.js",
"!**/screens/PlaygroundNavigator/**",
"!**/cypress-coverage/**",
"!**/jest-coverage/**",
],
coverageDirectory: "jest-coverage",
setupFiles: ["./jest.setup.js"],
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|@waveshq/.*)",
],
};