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