(nodeIds: string[])
| 27 | } |
| 28 | |
| 29 | function createMockDAG(nodeIds: string[]): DAG { |
| 30 | const nodes = new Map<string, DAGNode>() |
| 31 | for (const id of nodeIds) { |
| 32 | nodes.set(id, createMockNode(id)) |
| 33 | } |
| 34 | return { |
| 35 | nodes, |
| 36 | loopConfigs: new Map(), |
| 37 | parallelConfigs: new Map(), |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | function createMockWorkflow( |
| 42 | blocks: SerializedBlock[], |
no test coverage detected