(id: string, metadataId: string)
| 21 | } |
| 22 | |
| 23 | function createBlock(id: string, metadataId: string): SerializedBlock { |
| 24 | return { |
| 25 | id, |
| 26 | position: { x: 0, y: 0 }, |
| 27 | config: { tool: 'noop', params: {} }, |
| 28 | inputs: {}, |
| 29 | outputs: {}, |
| 30 | metadata: { id: metadataId, name: id }, |
| 31 | enabled: true, |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | describe('DAGExecutor restored cloned subflow registration', () => { |
| 36 | it('registers restored cloned subflows under their parent parallel branch', () => { |