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

Function wrapper

packages/shared/src/hooks/usePersistentContext.spec.tsx:13–17  ·  view source on GitHub ↗
({ children }: { children: ReactNode })

Source from the content-addressed store, hash-verified

11}));
12
13const wrapper = ({ children }: { children: ReactNode }) => (
14 <QueryClientProvider client={new QueryClient()}>
15 {children}
16 </QueryClientProvider>
17);
18
19describe('usePersistentContext', () => {
20 it('keeps a value set while the first read is still in flight', async () => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected