Skip to content

ngtrue / testing / SignalFormsControlRule

Type Alias: SignalFormsControlRule ​

SignalFormsControlRule = "value-model" | "single-model" | "no-value-accessor" | "touch-output" | "disabled-input" | "readonly-input" | "write-keeps-pristine" | "value-round-trip" | "touch-marks-touched" | "focus-reaches-control"

Defined in: src/testing/signal-forms-control.ts:19

The rules assertSignalFormsControl can break, in the order it checks them. The id is on the thrown SignalFormsControlError, so a test can assert WHICH rule failed rather than matching prose that will be reworded.

Since ​

0.1.0

MIT licensed