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

File createPersister.test.ts

packages/query-persist-client-core/src/__tests__/createPersister.test.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1import { afterAll, beforeAll, describe, expect, test, vi } from 'vitest'
2import { Query, QueryClient, hashKey } from '@tanstack/query-core'
3import {
4 PERSISTER_KEY_PREFIX,

Callers

nothing calls this directly

Calls 11

setupPersisterFunction · 0.85
getFreshStorageFunction · 0.85
resolveFunction · 0.85
setDataMethod · 0.80
setStateMethod · 0.80
getQueryCacheMethod · 0.80
setQueryDataMethod · 0.45
addMethod · 0.45
clearMethod · 0.45
getAllMethod · 0.45
getQueryDataMethod · 0.45

Tested by

no test coverage detected