-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
help wantedExtra attention is neededExtra attention is needed
Description
I couldn't find any documentation about testing. How can I test this library? We have components where we use navigationRef.isReady(), navigationRef.dispatch() and StackActions.push(). When I use navigationRef in NavigationContainer in test environment it throws error saying Warning: Expected useImperativeHandle() first argument to either be a ref callback or React.createRef() object. Instead received: an object with keys {isReady, dispatch}.. Testing only react-navigation stuff seems to work without problem e.g navigation.push().
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
help wantedExtra attention is neededExtra attention is needed