MCPcopy Index your code
hub / github.com/simstudioai/sim / versions

Function versions

apps/sim/lib/table/snapshot-cache.test.ts:47–49  ·  view source on GitHub ↗

Queue the values successive `readRowsVersion` calls return.

(...values: number[])

Source from the content-addressed store, hash-verified

45
46/** Queue the values successive `readRowsVersion` calls return. */
47function versions(...values: number[]) {
48 for (const v of values) mockDb.limit.mockResolvedValueOnce([{ rowsVersion: v }])
49}
50
51describe('getOrCreateTableSnapshot', () => {
52 beforeEach(() => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected