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

Function createChunksCollection

packages/db/tests/query/includes.test-d.ts:84–92  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

82}
83
84function createChunksCollection() {
85 return createCollection(
86 mockSyncCollectionOptions<Chunk>({
87 id: `includes-type-chunks`,
88 getKey: (c) => c.id,
89 initialData: [],
90 }),
91 )
92}
93
94describe(`includes subquery types`, () => {
95 const projects = createProjectsCollection()

Callers 1

includes.test-d.tsFile · 0.70

Calls 2

createCollectionFunction · 0.85

Tested by

no test coverage detected