From e8edc2f96926017a571ebb6677143df32cdedeca Mon Sep 17 00:00:00 2001 From: Reece Date: Fri, 28 Nov 2025 11:46:27 +0000 Subject: [PATCH] Restore onboarding provider in tests --- frontend/src/proprietary/routes/Login.test.tsx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/frontend/src/proprietary/routes/Login.test.tsx b/frontend/src/proprietary/routes/Login.test.tsx index 5c6f078bf9..f4e5c9faf7 100644 --- a/frontend/src/proprietary/routes/Login.test.tsx +++ b/frontend/src/proprietary/routes/Login.test.tsx @@ -7,6 +7,7 @@ import Login from '@app/routes/Login'; import { useAuth } from '@app/auth/UseSession'; import { springAuth } from '@app/auth/springAuthClient'; import { PreferencesProvider } from '@app/contexts/PreferencesContext'; +import { OnboardingProvider } from '@app/contexts/OnboardingContext'; // Mock i18n to return fallback text vi.mock('react-i18next', () => ({ @@ -65,7 +66,9 @@ vi.mock('react-router-dom', async () => { // Test wrapper with MantineProvider const TestWrapper = ({ children }: { children: React.ReactNode }) => ( - {children} + + {children} + );