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

Function createMockWorkflowState

apps/sim/lib/workflows/diff/diff-engine.test.ts:119–126  ·  view source on GitHub ↗
(blocks: Record<string, BlockState>)

Source from the content-addressed store, hash-verified

117}
118
119function createMockWorkflowState(blocks: Record<string, BlockState>): WorkflowState {
120 return {
121 blocks,
122 edges: [],
123 loops: {},
124 parallels: {},
125 }
126}
127
128describe('WorkflowDiffEngine', () => {
129 let engine: WorkflowDiffEngine

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected