MCPcopy Create free account
hub / github.com/TanStack/query /

Class

packages/solid-query/src/__tests__/useIsMutating.test.tsx:198–198  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

196 // We have to mock the MutationCache to not unsubscribe
197 // the listener when the component is unmounted
198 class MutationCacheMock extends QueryCore.MutationCache {
199 subscribe(listener: any) {
200 super.subscribe(listener)
201 return () => void 0

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected