Skip to content
Discussion options

You must be logged in to vote

Yes! New apps already have a couple of these for forgotPassword and resetPassword: https://github.com/blitz-js/blitz/blob/canary/packages/generator/templates/app/app/auth/mutations/resetPassword.test.ts

You will need to add a bit more to mockCtx like $authorize: () => {} and userId or other fields if you need them.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@antonykamp
Comment options

Answer selected by antonykamp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants