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

Function expectEdgeCount

packages/testing/src/assertions/workflow.assertions.ts:108–110  ·  view source on GitHub ↗
(workflow: any, expectedCount: number)

Source from the content-addressed store, hash-verified

106 * ```
107 */
108export function expectEdgeCount(workflow: any, expectedCount: number): void {
109 expect(workflow.edges.length, `Workflow should have ${expectedCount} edges`).toBe(expectedCount)
110}
111
112/**
113 * Asserts that a block is at a specific position.

Callers 1

store.test.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected