MCPcopy Create free account
hub / github.com/TanStack/query / usePrefetchInfiniteQuery.test.tsx

File usePrefetchInfiniteQuery.test.tsx

packages/preact-query/src/__tests__/usePrefetchInfiniteQuery.test.tsx:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { queryKey, sleep } from '@tanstack/query-test-utils'
2import { fireEvent } from '@testing-library/preact'
3import type { VNode } from 'preact'
4import { Suspense } from 'preact/compat'

Callers

nothing calls this directly

Calls 5

queryKeyFunction · 0.90
sleepFunction · 0.90
renderWithClientFunction · 0.90
clearMethod · 0.45
prefetchInfiniteQueryMethod · 0.45

Tested by

no test coverage detected