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

Function createWrapper

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

Source from the content-addressed store, hash-verified

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

Callers 2

setupWorkExperienceFormFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected