I’m trying to just create a basic test (we have a simple app with Apollo, and Expo). Following the jest instructions on the site I have a missing fetch global (which I tried to fix with unfetch, but then that says ‘self’ isn’t defined).
I’ve been looking in here and at @testing-library/react-native but then I get:
TypeError: Cannot read property 'Direction' of undefined at Object.<anonymous> (node_modules/react-native-gesture-handler/Directions.js:3:39) at Object.<anonymous> (node_modules/react-native-gesture-handler/GestureHandler.js:2:1)
Any simple instructions on how to get basic happy-path testing working?