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

Function createWrapper

packages/shared/src/hooks/useUserExperienceForm.spec.tsx:68–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66}));
67
68const createWrapper = () => {
69 const client = new QueryClient({
70 defaultOptions: {
71 queries: {
72 retry: false,
73 },
74 },
75 });
76 // eslint-disable-next-line react/display-name
77 return ({ children }: { children: React.ReactNode }) => (
78 <QueryClientProvider client={client}>{children}</QueryClientProvider>
79 );
80};
81
82// BaseUserExperience type used by the hook
83type BaseUserExperience = {

Callers 2

setupWorkExperienceFormFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected