Categories
Development

jest can’t produce coverage

I am in a react-native (expo SDK36) application , I have configured jest using the explanation from expo doc. This is how my jest configuration look like: { “jest”: { “testURL”: “http://localhost”, “preset”: “jest-expo”, “transformIgnorePatterns”: [ “node_modules/(?!(jest-)?react-native|react-clone-referenced-element|@react-native-community|expo(nent)?|@expo(nent)?/.*|react-navigation|@react-navigation/.*|@unimodules/.*|sentry-expo|native-base)” ], “coverageThreshold”: { “global”: { “statements”: 0, “branches”: 0, “functions”: 0, “lines”: 0 } }, “coveragePathIgnorePatterns”: [ “/node_modules/”, […]