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

Function mockSelectSequence

apps/sim/lib/workspaces/permissions/utils.test.ts:140–143  ·  view source on GitHub ↗
(results: any[][])

Source from the content-addressed store, hash-verified

138
139 describe('getUsersWithPermissions', () => {
140 function mockSelectSequence(results: any[][]) {
141 let index = 0
142 mockDb.select.mockImplementation(() => createMockChain(results[index++] ?? []))
143 }
144
145 const joinedAt = new Date('2026-04-22T00:00:00.000Z')
146

Callers 1

utils.test.tsFile · 0.85

Calls 1

createMockChainFunction · 0.70

Tested by

no test coverage detected