MCPcopy Create free account
hub / github.com/TanStack/db / mockLoadSubset

Function mockLoadSubset

packages/db/tests/query/subset-dedupe.test.ts:50–53  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48 it(`should call underlying loadSubset on first call`, async () => {
49 let callCount = 0
50 const mockLoadSubset = () => {
51 callCount++
52 return Promise.resolve()
53 }
54
55 const deduplicated = new DeduplicatedLoadSubset({
56 loadSubset: mockLoadSubset,

Callers

nothing calls this directly

Calls 1

cloneOptionsFunction · 0.90

Tested by

no test coverage detected