Replies: 1 comment 3 replies
-
|
Hey! Please try adding this to your jest setup file: jest.mock('react-native-worklets', () =>
require('react-native-worklets/src/mock')
);I wonder if we have this documented anywhere. If not, we will add this to docs. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
After upgrading:
the following error happens for all my unit tests
The execution breaks at the jest setup code, which is set up as documented here:
require('react-native-reanimated').setUpTests();
The actual app execution seems to be fine, so the issue is isolated to Jest-based unit tests.
What could be the cause of this?
Beta Was this translation helpful? Give feedback.
All reactions