Hey!
Let's say I have a provider that provides a CPF inside it state value. Then I use it in my component like this const { cpf } = useStateSignIn()
In my integration test (with Jest and Testing Library) I need to mock this cpf I got from my provider.
How can I do this?
Hey!
Let's say I have a provider that provides a CPF inside it state value. Then I use it in my component like this
const { cpf } = useStateSignIn()In my integration test (with Jest and Testing Library) I need to mock this cpf I got from my provider.
How can I do this?