module.exports = { preset: 'jest-expo', setupFiles: ['/jest.setup.js'], moduleNameMapper: { '^@/(.*)$': '/$1', }, // jest-expo's default pattern plus the ESM-only markdown renderer. transformIgnorePatterns: [ 'node_modules/(?!((jest-)?react-native|@react-native(-community)?)|expo(nent)?|@expo(nent)?/.*|@expo-google-fonts/.*|react-navigation|@react-navigation/.*|@sentry/react-native|native-base|react-native-svg|@ronradtke/.*)', ], testMatch: ['/__tests__/**/*.test.{ts,tsx}'], testPathIgnorePatterns: ['/node_modules/', '/dist/', '/.agent/'], };