(loopConfigs = new Map<string, any>())
| 75 | } |
| 76 | |
| 77 | function createOrchestrator(loopConfigs = new Map<string, any>()) { |
| 78 | const state = createState() |
| 79 | const orchestrator = new LoopOrchestrator( |
| 80 | { loopConfigs, parallelConfigs: new Map(), nodes: new Map() } as any, |
| 81 | state, |
| 82 | { resolveSingleReference: vi.fn() } as any |
| 83 | ) |
| 84 | return { orchestrator, setBlockOutput: vi.mocked(state.setBlockOutput) } |
| 85 | } |
| 86 | |
| 87 | describe('LoopOrchestrator', () => { |
| 88 | beforeEach(() => { |
no test coverage detected