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

File streamedQuery.test.tsx

packages/query-core/src/__tests__/streamedQuery.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 { QueryClient, QueryObserver } from '..'
4import { streamedQuery } from '../streamedQuery'

Callers

nothing calls this directly

Calls 15

createKeyFunction · 0.90
streamedQueryFunction · 0.90
sleepFunction · 0.90
resolveChunkFunction · 0.85
refetchMethod · 0.80
queryFnFunction · 0.70
fnFunction · 0.70
unsubscribeFunction · 0.50
mountMethod · 0.45
clearMethod · 0.45
subscribeMethod · 0.45

Tested by

no test coverage detected