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

Class

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

Source from the content-addressed store, hash-verified

23// oxlint-disable-next-line vitest/prefer-import-in-mock -- the mocked devtools classes have '#private' fields, and this environment cannot load the real Solid module
24vi.mock('@tanstack/query-devtools', () => {
25 class MockDevtools {
26 setClient = vi.fn<TanstackQueryDevtools['setClient']>()
27 mount = vi.fn<TanstackQueryDevtools['mount']>()
28 unmount = vi.fn<TanstackQueryDevtools['unmount']>()

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected