I am testing my react-native App. using jest and enzyme. and trying to find the component but I am unable to find it.
const component = shallow(); expect(component.find('TouchableOpacity')).toBe(1);
but the output is showing the length to be 0.
Aucun commentaire:
Enregistrer un commentaire