(overrides: Partial<LoopScope> = {})
| 50 | } |
| 51 | |
| 52 | function createLoopScope(overrides: Partial<LoopScope> = {}): LoopScope { |
| 53 | return { |
| 54 | iteration: 0, |
| 55 | currentIterationOutputs: new Map(), |
| 56 | allIterationOutputs: [], |
| 57 | ...overrides, |
| 58 | } |
| 59 | } |
| 60 | |
| 61 | function createTestContext( |
| 62 | currentNodeId: string, |