MCPcopy
hub / github.com/simstudioai/sim / lastValuesRows

Function lastValuesRows

apps/sim/lib/copilot/chat/messages-store.test.ts:55–58  ·  view source on GitHub ↗

The first arg passed to the most recent `.values(...)` call.

()

Source from the content-addressed store, hash-verified

53
54/** The first arg passed to the most recent `.values(...)` call. */
55function lastValuesRows() {
56 const calls = dbChainMockFns.values.mock.calls
57 return calls[calls.length - 1][0] as Array<Record<string, unknown>>
58}
59
60describe('messages-store', () => {
61 beforeEach(() => {

Callers 2

lastRowContentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected