Skip to content

Commit

Permalink
Fix State Management Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jjarvisp committed Aug 28, 2024
1 parent 9d0989d commit 2cdfe15
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ describe('local sign-in state management tests', () => {
cognitoUserPoolsTokenProvider.setAuthConfig(authConfig);
});

afterAll(() => {
mockedGetCurrentUser.mockRestore();
});

test('local state management should return state after signIn returns a ChallengeName', async () => {
const handleUserSRPAuthflowSpy = jest
.spyOn(signInHelpers, 'handleUserSRPAuthFlow')
Expand Down

0 comments on commit 2cdfe15

Please sign in to comment.