()
| 22 | const queryClient = new QueryClient({ queryCache }) |
| 23 | |
| 24 | function Page() { |
| 25 | const query = useQuery(() => ({ |
| 26 | queryKey: key, |
| 27 | queryFn: () => sleep(10).then(() => 'test'), |
| 28 | })) |
| 29 | |
| 30 | return ( |
| 31 | <div> |
| 32 | <h1>{query.data}</h1> |
| 33 | </div> |
| 34 | ) |
| 35 | } |
| 36 | |
| 37 | const rendered = render(() => ( |
| 38 | <QueryClientProvider client={queryClient}> |
nothing calls this directly
no test coverage detected