MCPcopy Index your code
hub / github.com/simstudioai/sim / createBlock

Function createBlock

apps/sim/executor/execution/executor.test.ts:23–33  ·  view source on GitHub ↗
(id: string, metadataId: string)

Source from the content-addressed store, hash-verified

21}
22
23function 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
35describe('DAGExecutor restored cloned subflow registration', () => {
36 it('registers restored cloned subflows under their parent parallel branch', () => {

Callers 1

executor.test.tsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected