Answers for "Cannot find module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' from 'mock.js'"

0

Cannot find module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' from 'mock.js'

First visit this link 
====================
https://stackoverflow.com/questions/59587799/how-to-resolve-animated-usenativedriver-is-not-supported-because-the-native
=================
 if it throw an error then change as bellow

Updated May 18, 2021

It looks like the location of NativeAnimatedHelper has moved in a more recent version of React Native.

Change

jest.mock('NativeAnimatedHelper');

To

jest.mock('react-native/Libraries/Animated/NativeAnimatedHelper');
Posted by: Guest on August-04-2021

Code answers related to "Cannot find module 'react-native/Libraries/Animated/src/NativeAnimatedHelper' from 'mock.js'"

Code answers related to "Javascript"

Browse Popular Code Answers by Language