MCPcopy Index your code
hub / github.com/tinyplex/tinybase / createTestThings

Function createTestThings

test/unit/core/ui-common/primitives.ts:50–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48};
49
50const createTestThings = (): ContextPrimitiveProps => {
51 const store = createStore().setTables({t1: {r1: {c1: 1}}});
52 return {
53 store,
54 metrics: createMetrics(store),
55 indexes: createIndexes(store),
56 relationships: createRelationships(store),
57 queries: createQueries(store),
58 checkpoints: createCheckpoints(store),
59 persister: {} as AnyPersister,
60 synchronizer: {} as Synchronizer,
61 };
62};
63
64export const testContextPrimitives = (
65 framework: string,

Callers 1

testContextPrimitivesFunction · 0.85

Calls 2

createStoreFunction · 0.90
setTablesMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…