Skip to content

Commit

Permalink
clean up mocks after each
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffGreiner-eaton committed Jul 25, 2024
1 parent 6bb8ae1 commit f4f2ce5
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ const mockSignInWithRedirect = jest.fn();
const mockOnContactSupport = jest.fn();

describe('OktaLoginScreenBase', () => {
afterEach(() => {
jest.clearAllMocks();
});
beforeEach(() => {
(useOktaAuth as jest.Mock).mockReturnValue({
authState: { isAuthenticated: false },
Expand Down

0 comments on commit f4f2ce5

Please sign in to comment.