react-native-collapsible-tab-view icon indicating copy to clipboard operation
react-native-collapsible-tab-view copied to clipboard

Error occurred in <ForwardRef> component

Open hoangtran-97 opened this issue 3 years ago • 1 comments

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 avatar Jul 25 '22 07:07 hoangtran-97

@hoangtran-97 did you get the solution to this ?

shail-spreadd avatar Apr 12 '24 18:04 shail-spreadd