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

Function wrapper

packages/shared/src/features/monetization/useAdQuery.spec.tsx:25–27  ·  view source on GitHub ↗
({ children }: { children: ReactNode })

Source from the content-addressed store, hash-verified

23
24let client: QueryClient;
25const wrapper = ({ children }: { children: ReactNode }) => (
26 <QueryClientProvider client={client}>{children}</QueryClientProvider>
27);
28
29beforeEach(() => {
30 client = new QueryClient({ defaultOptions: { queries: { retry: false } } });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected