diff --git a/packages/synapse-react-client/src/utils/AppUtils/session/ApplicationSession.test.tsx b/packages/synapse-react-client/src/utils/AppUtils/session/ApplicationSession.test.tsx index 05b68df76a..32baa2dec6 100644 --- a/packages/synapse-react-client/src/utils/AppUtils/session/ApplicationSession.test.tsx +++ b/packages/synapse-react-client/src/utils/AppUtils/session/ApplicationSession.test.tsx @@ -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) }) })