runFlagTests
function runFlagTests(flags, segments): TestFailure[];Defined in: hooks/test-gate.ts:69
Evaluate every pinned test in flags against the draft (segments resolved +
inlined the same way ../core.FlagsCore.evaluate does for a draft) and
return the failures. Pure — no I/O — so it is easy to unit-test and reuse.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
flags |
Record<string, Flag> |
segments |
Record<string, Segment> |