You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
test(email): add DataProvider coverage for throwIfIsAuthenticatedWithDifferentAccount
Six cases covering all branches of the guard:
- not authenticated → pass
- authenticated email matches signer email → pass
- authenticated user has no email set → throw
- authenticated user has different email → throw
- wrong email but token in progress (code set, not yet identified) → pass
- wrong email and token already used (identified) → throw
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
0 commit comments