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

File infiniteQueryObserver.test.tsx

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

Source from the content-addressed store, hash-verified

1import { createKey, sleep } from '@tanstack/query-test-utils'
2import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest'
3import { InfiniteQueryObserver, QueryClient } from '..'
4import type {

Callers

nothing calls this directly

Calls 15

createKeyFunction · 0.90
sleepFunction · 0.90
fetchNextPageMethod · 0.80
fetchPreviousPageMethod · 0.80
refetchMethod · 0.80
getQueryCacheMethod · 0.80
fetchOptimisticMethod · 0.80
unsubscribeFunction · 0.50
mountMethod · 0.45
clearMethod · 0.45
subscribeMethod · 0.45
setQueryDataMethod · 0.45

Tested by

no test coverage detected