We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi thanks for this code! I've been trying to run tests in your demo app and have hit this issue when running yarn jest
yarn jest
FAIL src/components/button/test.tsx ● Test suite failed to run Configuration error: Could not locate module @react-native-community/datetimepicker mapped as: /Users/julian/expts/react-native-n64-voter-app/__mocks__/DateTimePicker.tsx. Please check your configuration for these entries: { "moduleNameMapper": { "/@react-native-community\/datetimepicker/": "/Users/<me>/expts/react-native-n64-voter-app/__mocks__/DateTimePicker.tsx" }, "resolver": undefined } 23 | jest.mock("@react-native-community/netinfo", () => mockRNCNetInfo); 24 | > 25 | jest.mock("@react-native-community/datetimepicker", () => jest.fn()); | ^ 26 | 27 | jest.mock("react-native/Libraries/Animated/NativeAnimatedHelper"); 28 | jest.mock("react-i18next", () => ({ at createNoMappedModuleFoundError (node_modules/jest-resolve/build/index.js:551:17) at Object.<anonymous> (jest.setup.js:25:6)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi thanks for this code!
I've been trying to run tests in your demo app and have hit this issue when running
yarn jest
The text was updated successfully, but these errors were encountered: