({ children }: { children: ReactNode })
| 49 | |
| 50 | // Wrapper component with Suspense |
| 51 | function SuspenseWrapper({ children }: { children: ReactNode }) { |
| 52 | return <Suspense fallback={<div>Loading...</div>}>{children}</Suspense> |
| 53 | } |
| 54 | |
| 55 | describe(`useLiveSuspenseQuery`, () => { |
| 56 | it(`should suspend while loading and return data when ready`, async () => { |
nothing calls this directly
no outgoing calls
no test coverage detected