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