MCPcopy Create free account
hub / github.com/dailydotdev/apps / layout

Function layout

packages/webapp/__tests__/MainLayoutServerVariant.tsx:98–107  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96 };
97 const client = new QueryClient();
98 const layout = () => (
99 <TestBootProvider
100 client={client}
101 auth={{ isAuthReady: false, isLoggedIn: false, user: undefined }}
102 >
103 <MainLayout>
104 <Page />
105 </MainLayout>
106 </TestBootProvider>
107 );
108
109 const { rerender } = render(layout());
110 expect(screen.getAllByRole('banner').length).toBeGreaterThan(0);

Callers 2

renderComponentFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected