Skip to content

[tests] E4-7: Coverage threshold 50% β€” too low for enterprise quality gateΒ #1435

@OneStepAt4time

Description

@OneStepAt4time

Finding

ID: CI-3 | Severity: 🟠 MEDIUM

vitest.config.ts has thresholds: { lines: 50 } β€” only line coverage, only 50%. No branch, function, or statement thresholds. CI passes even if half the codebase is uncovered.

Fix Required

Update vitest.config.ts to:

thresholds: { lines: 70, branches: 60, functions: 70, statements: 70 }

Files: vitest.config.ts

Acceptance Criteria

CI fails when coverage drops below the new thresholds.

Milestone

M-E4: Reliability & Robustness

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions