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

Function wrapper

packages/shared/src/hooks/post/useMutateComment.spec.tsx:37–39  ·  view source on GitHub ↗
({ children }: React.PropsWithChildren)

Source from the content-addressed store, hash-verified

35 let client: QueryClient;
36
37 const wrapper = ({ children }: React.PropsWithChildren) => (
38 <QueryClientProvider client={client}>{children}</QueryClientProvider>
39 );
40
41 beforeEach(() => {
42 client = new QueryClient();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected