How to test child component in jest, test prop function jest

More actions