Skip to content

ngtrue / testing / SignalFormsControlRule

Type Alias: SignalFormsControlRule

SignalFormsControlRule = "value-model" | "single-model" | "no-value-accessor" | "touch-output" | "disabled-input" | "readonly-input" | "value-round-trip" | "touch-marks-touched"

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

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.

MIT licensed