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