Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Commit

Permalink
restores mocks in afterEach to prevent test dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
GoodGuyMarco committed Jan 2, 2023
1 parent cea876b commit a08f10d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ describe("UserOnboardingPage", () => {

afterEach(() => {
jest.useRealTimers();
jest.restoreAllMocks();
});

afterAll(() => {
Expand Down

0 comments on commit a08f10d

Please sign in to comment.