Error:
Cannot find module ‘react-native/Libraries/LogBox/LogBox’ from ‘setup.js’
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:299:11)
at Object. (node_modules/jest-expo/src/preset/setup.js:155:6)
It looks like you’re using jest-expo v39 with a project running SDK37. LogBox was released with React Native 0.63 which is what SDK39 is using. Can you try running with v37.0.0 and see if that resolves the issue?
Thank you. What I did instead was upgrade my Expo SDK from 37 to 39 with a simple expo upgrade. I thought there would be breaking changes that I had to deal with as mentioned in the documentation about upgrading expo. But it all went smoothly coming from 37.