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

Function wrapper

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

Source from the content-addressed store, hash-verified

30
31let client: QueryClient;
32const wrapper = ({ children }: { children: ReactNode }) => (
33 <QueryClientProvider client={client}>{children}</QueryClientProvider>
34);
35
36beforeEach(() => {
37 client = new QueryClient({ defaultOptions: { queries: { retry: false } } });

Callers 1

postWrapperFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected