testing child component which relies on state changes – jest
I’m doing tests for SignUpScreen
the problem I’ve been facing is I couldn’t figure out how to detect the changes through spying on sendEmailVerificationLink function and test if Modal (child component) renders accordingly .