Skip to content

FE-174 Add Vitest coverage thresholds to the CI workflow #295

@BigBen-7

Description

@BigBen-7

Track
Frontend

Difficulty
Trivial

Description
The CI workflow runs tests but does not enforce a minimum coverage threshold. Add --coverage to the test script and configure minimum thresholds (line, branch, function) in vitest.config.

Acceptance Criteria

  • Vitest runs with coverage enabled in CI.
  • CI fails if coverage falls below the configured thresholds.
  • Thresholds are set at ≥60% line, branch, and function coverage to start.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions