Skip to content

Commit

Permalink
if authenticatedOn difference is greater than maxAge then we should s…
Browse files Browse the repository at this point in the history
…ign out
  • Loading branch information
jay-hodgson committed Oct 30, 2024
1 parent 6ab6682 commit c5bc86d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,8 @@ describe('ApplicationSessionManager tests', () => {
await waitFor(() => {
expect(mockGetAccessToken).toHaveBeenCalled()
expect(mockAuthenticatedOn).toHaveBeenCalled()
expect(signOutSpy).toHaveBeenCalled()
expect(mockTermsOfServiceStatus).not.toHaveBeenCalled()
expect(signOutSpy).not.toHaveBeenCalled()
expect(context.result.current).toMatchObject(EXPECTED_ANONYMOUS_STATE)
})
})
Expand Down

0 comments on commit c5bc86d

Please sign in to comment.