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
Mock logged-out user
After #7 Mock useSession hook in Jest tests #10, since useSession uses mock user data from a logged-in user, any test that involves a component using useSession will now test components as if a user is logged in. We need to write tests for logged-out state as well. (Make useSession return undefined?)
The text was updated successfully, but these errors were encountered:
After #7 Mock useSession hook in Jest tests #10, since useSession uses mock user data from a logged-in user, any test that involves a component using useSession will now test components as if a user is logged in. We need to write tests for logged-out state as well. (Make useSession return undefined?)
The text was updated successfully, but these errors were encountered: