()
| 31 | |
| 32 | // Helper to render the context |
| 33 | const renderWithContext = () => { |
| 34 | let context!: AppContextState; |
| 35 | |
| 36 | const CaptureContext = () => { |
| 37 | context = useAppContext(); |
| 38 | return null; |
| 39 | }; |
| 40 | |
| 41 | renderWithProviders( |
| 42 | <AppProvider> |
| 43 | <CaptureContext /> |
| 44 | </AppProvider>, |
| 45 | ); |
| 46 | |
| 47 | return () => context; |
| 48 | }; |
| 49 | |
| 50 | describe('renderer/context/App.tsx', () => { |
| 51 | const fetchNotificationsMock = vi.fn(); |
no test coverage detected