()
| 56 | const key = queryKey() |
| 57 | |
| 58 | function Page() { |
| 59 | const { data = 'default' } = useQuery({ |
| 60 | queryKey: key, |
| 61 | queryFn: () => sleep(10).then(() => 'test'), |
| 62 | }) |
| 63 | |
| 64 | return ( |
| 65 | <div> |
| 66 | <h1>{data}</h1> |
| 67 | </div> |
| 68 | ) |
| 69 | } |
| 70 | |
| 71 | const rendered = renderWithClient(queryClient, <Page />) |
| 72 |
nothing calls this directly
no test coverage detected