From 519c7213c97737db0b40022ad3f1d0faab96a4fe Mon Sep 17 00:00:00 2001 From: Danielle Lindblom <114356705+Danielle254@users.noreply.github.com> Date: Wed, 13 Nov 2024 14:05:00 -0700 Subject: [PATCH] Update page.test.tsx change let to const for mockUseAuthContext object --- app/(main)/login/page.test.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/(main)/login/page.test.tsx b/app/(main)/login/page.test.tsx index 283d0725..afc1dd12 100644 --- a/app/(main)/login/page.test.tsx +++ b/app/(main)/login/page.test.tsx @@ -23,7 +23,7 @@ interface MockUseAuthContext { login: jest.Mock; } -let mockUseAuthContext: MockUseAuthContext = { +const mockUseAuthContext: MockUseAuthContext = { getUser, isSignedIn: false, login: mockLogin,