(layoutVariant?: LayoutVariant)
| 48 | }); |
| 49 | |
| 50 | const renderLayout = (layoutVariant?: LayoutVariant): RenderResult => |
| 51 | render( |
| 52 | <TestBootProvider |
| 53 | client={new QueryClient()} |
| 54 | auth={{ isAuthReady: false, isLoggedIn: false, user: undefined }} |
| 55 | > |
| 56 | <MainLayout layoutVariant={layoutVariant}> |
| 57 | <p>prerendered page content</p> |
| 58 | </MainLayout> |
| 59 | </TestBootProvider>, |
| 60 | ); |
| 61 | |
| 62 | it('hands the header to the rail before hydration and boot', () => { |
| 63 | const { container } = renderLayout('v2'); |
no test coverage detected