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

Function wrapper

packages/shared/src/features/boost/useCampaignMutation.spec.tsx:26–35  ·  view source on GitHub ↗
({ children }: { children: ReactNode })

Source from the content-addressed store, hash-verified

24>;
25
26const wrapper = ({ children }: { children: ReactNode }) => (
27 <TestBootProvider
28 client={
29 new QueryClient({ defaultOptions: { mutations: { retry: false } } })
30 }
31 auth={{ user: loggedUser }}
32 >
33 {children}
34 </TestBootProvider>
35);
36
37describe('useCampaignMutation cancel', () => {
38 beforeEach(() => {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected