Open hoangtran-97 opened 1 year ago
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 ?
Hi, I am trying to test one of my component using this lib with RNTL and Jest then I got the following error
I already tried to mock reanimated in my setup
Here are my dependencies