Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/TanStack/query
/ queryClient.test.tsx
File
queryClient.test.tsx
packages/query-core/src/__tests__/queryClient.test.tsx:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import { afterEach, beforeEach, describe, expect, test, vi } from
'vitest'
2
import { queryKey, sleep } from
'@tanstack/query-test-utils'
3
import {
4
CancelledError,
Callers
nothing calls this directly
Calls
15
queryKey
Function · 0.90
sleep
Function · 0.90
mockOnlineManagerIsOnline
Function · 0.90
resolve
Function · 0.85
dehydrate
Function · 0.85
hydrate
Function · 0.85
getQueryCache
Method · 0.80
getDefaultOptions
Method · 0.80
refetch
Method · 0.80
defaultQueryOptions
Method · 0.80
get
Method · 0.80
ensureInfiniteQueryData
Method · 0.80
Tested by
no test coverage detected