FAIL src/__tests__/App.test.tsx
● Test suite failed to run
Cannot find module '../assets/icons/align-left.png' from 'node_modules/react-native-cn-quill/lib/src/constants/icons.js'
Require stack:
node_modules/react-native-cn-quill/lib/src/constants/icons.js
node_modules/react-native-cn-quill/lib/src/utils/toolbar-utils.js
node_modules/react-native-cn-quill/lib/src/toolbar/quill-toolbar.js
node_modules/react-native-cn-quill/lib/src/index.js
src/scenes/EditCard/EditCard.tsx
src/scenes/EditCard/index.ts
src/App.tsx
src/__tests__/App.test.tsx
at Resolver.resolveModule (node_modules/jest-resolve/build/index.js:306:11)
at Object.<anonymous> (node_modules/react-native-cn-quill/lib/src/constants/icons.js:1:23)
console.error
react-native-gesture-handler module was not found. Make sure you're running your app on the native platform and your code is linked properly (cd ios && pod install && cd ..).
For installation instructions, please refer to https://docs.swmansion.com/react-native-gesture-handler/docs/#installation
at Object.<anonymous> (node_modules/react-native-gesture-handler/lib/commonjs/RNGestureHandlerModule.ts:5:3)
at Object.<anonymous> (node_modules/react-native-gesture-handler/lib/commonjs/handlers/createHandler.ts:10:1)
I have added transformIgnorePatterns like this in jest.config.js but it doesn't work:
About the error message:
I have added transformIgnorePatterns like this in
jest.config.js
but it doesn't work: