Skip to content

engine: carriedCheckAsFailure continuation mark is untested #2098

Closed

Description

@nc9

carriedCheckAsFailure() in packages/audit-engine/src/scoring.ts (added in pub#2008) keeps an extra item row marked as a continuation when it turns a carried row into a failure. Removing that mark fails no test, so a regression that double-counts continuation rows would pass CI.

Acceptance Criteria

  • A test fails if carriedCheckAsFailure() drops the continuation mark on an extra item row.
  • The test asserts the resulting failed-check count for a page with one check name and several items is 1, not the item count.

nik

Metadata

Metadata

Assignees

No one assigned

    Labels

    enginesize: XS

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions