I keep gettingTypeError: Cannot read property 'create' of undefined and i believe it is because of react-Navigation Drawer
const App = () => { return <AppContainer />;};
import 'react-native';import * as React from 'react';import App from '../App';// Note: test renderer must be required after react-native.import renderer from 'react-test-renderer';it('renders correctly', () => { renderer.create(<App />);});
"jest": {"preset": "react-native","moduleFileExtensions": ["ts","tsx","js","jsx","json","node" ],"transformIgnorePatterns": ["node_modules/(?!react-native|react-navigation)/" ],"setupFiles": ["./node_modules/react-native-gesture-handler/jestSetup.js","./testenv.js" ] }