({ children }: { children?: VNode })
| 259 | const Fallback = vi.fn().mockImplementation(() => <div>Loading...</div>) |
| 260 | |
| 261 | function FirstQuery({ children }: { children?: VNode }) { |
| 262 | const state = useSuspenseQuery(firstQueryOpts) |
| 263 | return ( |
| 264 | <div> |
| 265 | <div>data: {String(state.data)}</div> |
| 266 | {children} |
| 267 | </div> |
| 268 | ) |
| 269 | } |
| 270 | |
| 271 | function SecondQuery({ children }: { children?: VNode }) { |
| 272 | const state = useSuspenseQuery(secondQueryOpts) |
nothing calls this directly
no test coverage detected