passesRule function

Matcher passesRule(
  1. String ruleId
)

Matches a CoverageReport where the rule identified by ruleId is not critical (i.e. its coverage is at or above the rule's critical threshold).

expect(report, passesRule('wcag_1_3_1_semantics_label'));

Implementation

Matcher passesRule(String ruleId) => _PassesRule(ruleId);