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

File mutationObserver.test.tsx

packages/query-core/src/__tests__/mutationObserver.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 { queryKey, sleep } from '@tanstack/query-test-utils'
3import { MutationObserver, QueryClient } from '..'
4

Callers

nothing calls this directly

Calls 13

sleepFunction · 0.90
queryKeyFunction · 0.90
getMutationCacheMethod · 0.80
unsubscribeFunction · 0.50
mountMethod · 0.45
clearMethod · 0.45
subscribeMethod · 0.45
mutateMethod · 0.45
findAllMethod · 0.45
resetMethod · 0.45
getCurrentResultMethod · 0.45
setOptionsMethod · 0.45

Tested by

no test coverage detected