module.exports = { preset: 'jest-expo', testEnvironment: 'jsdom', setupFilesAfterEnv: ['/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)', ], moduleNameMapper: { '^@/(.*)$': '/$1', }, collectCoverageFrom: [ 'contexts/**/*.{ts,tsx}', 'services/**/*.{ts,tsx}', 'hooks/**/*.{ts,tsx}', '!**/*.d.ts', '!**/node_modules/**', '!**/__tests__/**', ], testMatch: [ '**/__tests__/**/*.test.{ts,tsx}', '**/?(*.)+(spec|test).{ts,tsx}', ], testPathIgnorePatterns: [ '/node_modules/', '/.ralphy-worktrees/', ], };