-
Notifications
You must be signed in to change notification settings - Fork 105
/
jest-e2e.config.js
18 lines (18 loc) · 1.12 KB
/
jest-e2e.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
module.exports = {
preset: "react-native",
transformIgnorePatterns: [
"node_modules/(?!(jest-)?@react-native|react-native|react-navigation|@react-navigation|react-navigation-redux-helpers|react-native-device-info|rn-placeholder|jsbarcode|@pagopa/react-native-cie|react-native-share|jail-monkey|@react-native-community/art|@react-native-community/push-notification-ios|@shopify/react-native-skia|lottie-react-native|@codler|remark|unified|bail|is-plain-obj|trough|vfile|unist-util-stringify-position|mdast-util-from-markdown|mdast-util-to-string|micromark|parse-entities|character-entities|mdast-util-to-markdown|zwitch|longest-streak|@pagopa/io-react-native-zendesk|rn-qr-generator|mixpanel-react-native|@pagopa/io-app-design-system|@sentry/react-native)"
],
moduleNameMapper: {
"\\.svg": "<rootDir>/ts/__mocks__/svgMock.js"
},
setupFilesAfterEnv: ["./e2e/globalSetup.js"],
testMatch: ["**/__e2e__/*.e2e.ts?(x)"],
forceExit: true,
verbose: true,
maxWorkers: 1,
testTimeout: 300000,
testEnvironment: "./e2e/environment",
testRunner: "jest-circus/runner",
reporters: ["detox/runners/jest/streamlineReporter"]
};