I have a component that help with resetting a password.
Here is a snippet of code from that component:
This works fine when I test it manually, and I can verify that resetToken
gets set (and is eventually passed back to my server to set the new password).
However, in my tests, the queryParams
variable is empty.
In my test, this is how I'm attempting to set the URL / query params:
So, why are the query params empty in the test?
Aucun commentaire:
Enregistrer un commentaire