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

Function createUpdateChain

apps/sim/lib/workspaces/utils.test.ts:48–54  ·  view source on GitHub ↗
(result: unknown)

Source from the content-addressed store, hash-verified

46}
47
48function createUpdateChain(result: unknown) {
49 const returning = vi.fn().mockResolvedValue(result)
50 const where = vi.fn().mockReturnValue({ returning })
51 const set = vi.fn().mockReturnValue({ where })
52
53 return { set, where, returning }
54}
55
56describe('reassignWorkflowOwnershipForWorkspaceMemberRemovalTx', () => {
57 beforeEach(() => {

Callers 1

utils.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected