()
| 98 | } |
| 99 | |
| 100 | function App() { |
| 101 | usePrefetchInfiniteQuery({ ...queryOpts, pages: data.length }) |
| 102 | |
| 103 | return ( |
| 104 | <Suspense fallback={<Fallback />}> |
| 105 | <Suspended |
| 106 | queryOpts={queryOpts} |
| 107 | renderPage={(page) => <div>data: {page.data}</div>} |
| 108 | /> |
| 109 | </Suspense> |
| 110 | ) |
| 111 | } |
| 112 | |
| 113 | const rendered = renderWithClient(queryClient, <App />) |
| 114 |
nothing calls this directly
no test coverage detected