()
| 27 | })) |
| 28 | |
| 29 | function createBlock(): SerializedBlock { |
| 30 | return { |
| 31 | id: 'function-block-1', |
| 32 | metadata: { id: BlockType.FUNCTION, name: 'Function' }, |
| 33 | position: { x: 0, y: 0 }, |
| 34 | config: { tool: BlockType.FUNCTION, params: {} }, |
| 35 | inputs: {}, |
| 36 | outputs: {}, |
| 37 | enabled: true, |
| 38 | } |
| 39 | } |
| 40 | |
| 41 | function createContext(state: ExecutionState): ExecutionContext { |
| 42 | return { |
no outgoing calls
no test coverage detected