()
| 62 | })); |
| 63 | |
| 64 | const 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 |
| 79 | type BaseUserExperience = { |
no outgoing calls
no test coverage detected