MCPcopy Create free account
hub / github.com/boringstack-xyz/boringstack / wrapper

Function wrapper

apps/ui/src/features/auth/Auth.queries.test.tsx:25–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

23}));
24
25function wrapper() {
26 const client = new QueryClient({
27 defaultOptions: { queries: { retry: false }, mutations: { retry: false } }
28 });
29
30 return function Wrapper({ children }: { children: React.ReactNode }) {
31 return (
32 <QueryClientProvider client={client}>{children}</QueryClientProvider>
33 );
34 };
35}
36
37const USER = makeUser({ firstName: "Demo", lastName: "User" });
38

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected