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

Function createMockNode

apps/sim/executor/dag/construction/edges.test.ts:19–27  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

17}
18
19function createMockNode(id: string): DAGNode {
20 return {
21 id,
22 block: createMockBlock(id),
23 outgoingEdges: new Map(),
24 incomingEdges: new Set(),
25 metadata: {},
26 }
27}
28
29function createMockDAG(nodeIds: string[]): DAG {
30 const nodes = new Map<string, DAGNode>()

Callers 1

createMockDAGFunction · 0.70

Calls 1

createMockBlockFunction · 0.70

Tested by

no test coverage detected