()
| 48 | const key = queryKey() |
| 49 | |
| 50 | function Page() { |
| 51 | const { data = 'default' } = useQuery({ |
| 52 | queryKey: key, |
| 53 | queryFn: () => sleep(10).then(() => 'test'), |
| 54 | }) |
| 55 | |
| 56 | return ( |
| 57 | <div> |
| 58 | <h1>{data}</h1> |
| 59 | </div> |
| 60 | ) |
| 61 | } |
| 62 | |
| 63 | const rendered = renderWithClient(queryClient, <Page />) |
| 64 |
nothing calls this directly
no test coverage detected