MCPcopy Create free account
hub / github.com/TanStack/query / client-switch-controllers.test.ts

File client-switch-controllers.test.ts

packages/lit-query/src/tests/client-switch-controllers.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { describe, expect, it } from 'vitest'
2import { QueryClient } from '@tanstack/query-core'
3import type { ReactiveController, ReactiveControllerHost } from 'lit'
4import { QueryClientProvider } from '../QueryClientProvider.js'

Callers

nothing calls this directly

Calls 11

waitForFunction · 0.90
getMethod · 0.80
getMutationCacheMethod · 0.80
getQueryCacheMethod · 0.80
getObserversCountMethod · 0.80
fetchNextPageMethod · 0.80
findAllMethod · 0.45
destroyMethod · 0.45
removeMethod · 0.45
findMethod · 0.45
invalidateQueriesMethod · 0.45

Tested by

no test coverage detected