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

Function createMockBlock

apps/sim/executor/execution/edge-manager.test.ts:8–18  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

6import { EdgeManager } from './edge-manager'
7
8function createMockBlock(id: string): SerializedBlock {
9 return {
10 id,
11 metadata: { id: 'test', name: 'Test Block' },
12 position: { x: 0, y: 0 },
13 config: { tool: '', params: {} },
14 inputs: {},
15 outputs: {},
16 enabled: true,
17 }
18}
19
20function createMockNode(
21 id: string,

Callers 1

createMockNodeFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected