MCPcopy
hub / github.com/TanStack/query / hydration.test.tsx

File hydration.test.tsx

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

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, test, vi } from 'vitest'
2import { sleep } from '@tanstack/query-test-utils'
3import { QueryClient } from '../queryClient'
4import { QueryCache } from '../queryCache'

Callers

nothing calls this directly

Calls 15

sleepFunction · 0.90
dehydrateFunction · 0.90
hydrateFunction · 0.90
executeMutationFunction · 0.90
customFetchDataFunction · 0.85
resolvePromiseFunction · 0.85
prefetchQueryMethod · 0.45
findMethod · 0.45
clearMethod · 0.45
setMutationDefaultsMethod · 0.45
resumePausedMutationsMethod · 0.45

Tested by

no test coverage detected