()
| 87 | const key = createKey() |
| 88 | |
| 89 | function Page() { |
| 90 | const { data = 'default' } = useQuery({ |
| 91 | queryKey: key, |
| 92 | queryFn: () => sleep(10).then(() => 'test'), |
| 93 | }) |
| 94 | |
| 95 | return ( |
| 96 | <div> |
| 97 | <h1>{data}</h1> |
| 98 | </div> |
| 99 | ) |
| 100 | } |
| 101 | |
| 102 | const rendered = renderWithClient(queryClient, <Page />) |
| 103 |
nothing calls this directly
no test coverage detected