From a08f10d04de5288dccac3d24958c5f14bd8e7864 Mon Sep 17 00:00:00 2001 From: Marco Bartelt Date: Mon, 2 Jan 2023 09:56:42 +0100 Subject: [PATCH] restores mocks in afterEach to prevent test dependencies --- .../components/views/user-onboarding/UserOnboardingPage-test.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/test/components/views/user-onboarding/UserOnboardingPage-test.tsx b/test/components/views/user-onboarding/UserOnboardingPage-test.tsx index bad03d04de7..0ff637e2c91 100644 --- a/test/components/views/user-onboarding/UserOnboardingPage-test.tsx +++ b/test/components/views/user-onboarding/UserOnboardingPage-test.tsx @@ -57,6 +57,7 @@ describe("UserOnboardingPage", () => { afterEach(() => { jest.useRealTimers(); + jest.restoreAllMocks(); }); afterAll(() => {