react-native-collapsible-tab-view
react-native-collapsible-tab-view copied to clipboard
Error occurred in <ForwardRef> component
Hi, I am trying to test one of my component using this lib with RNTL and Jest then I got the following error
The above error occurred in the <ForwardRef> component:
at /node_modules/react-native-collapsible-tab-view/lib/commonjs/Container.tsx:65:9
I already tried to mock reanimated in my setup
jest.mock(
'react-native-reanimated',
() => require('react-native-reanimated/mock').default,
);
Here are my dependencies
"react-native-collapsible-tab-view": "^5.0.0-rc.13",
"react-native-reanimated": "^2.9.1",
"react-native-pager-view": "^5.4.25",
@hoangtran-97 did you get the solution to this ?