I'm trying to run a test but it failes with this error:package.json
..."jest": {"preset": "react-native" },...
tsconfig.json
{"compilerOptions": {"allowJs": true,"allowSyntheticDefaultImports": true,"esModuleInterop": true,"isolatedModules": true,"jsx": "react-native","lib": ["es6"],"moduleResolution": "node","noEmit": true,"strict": true,"target": "esnext", },"exclude": ["node_modules","babel.config.js","metro.config.js","jest.config.js" ]}
jest.config.js
module.exports = { preset: 'react-native', moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx', 'json', 'node'], transformIgnorePatterns: ['@react-native-firebase/admob'], };
bable.config.js
module.exports = { presets: ['module:metro-react-native-babel-preset'],};
Already tried few things but none of them worked.Let me know if something is missing and I'll edit the post.Thanks!