hacifootprint

expectNoStaleLogic

Function: expectNoStaleLogic()

expectNoStaleLogic(graph, opts?): void

Defined in: src/testing/model/lint.ts:390

Throw if the graph has stale-logic findings at or above failOn (default 'error'). The opt-in CI gate: expectNoStaleLogic(graph, { initialState }) fails a commit that drifts the graph. Report-by-default stays the norm — call lintGraph directly to inspect without failing.

Parameters

graph

NavigationGraph

opts?

LintOptions & object

Returns

void

On this page