MCPcopy
hub / github.com/TanStack/query / useIsMutating.test.ts

File useIsMutating.test.ts

packages/vue-query/src/__tests__/useIsMutating.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterEach, beforeEach, describe, expect, it, test, vi } from 'vitest'
2import { onScopeDispose, reactive } from 'vue-demi'
3import { sleep } from '@tanstack/query-test-utils'
4import { useMutation } from '../useMutation'

Callers

nothing calls this directly

Calls 8

useMutationFunction · 0.90
sleepFunction · 0.90
useIsMutatingFunction · 0.90
useMutationStateFunction · 0.90
useQueryClientFunction · 0.90
fnFunction · 0.70
mutateFunction · 0.50
clearMethod · 0.45

Tested by

no test coverage detected