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