Skip to content

testing: no coverage thresholds configured in vitest — regressions can't fail CI #294

Description

@Austinaminu2

Problem

The `coverage` block in `vitest.config.ts` configures `include`/`exclude`/reporters, but sets no `thresholds`. `npm test` (and CI) can never fail due to a coverage regression, no matter how much untested code is added.

Location

`vitest.config.ts` (coverage block)

Impact

No automated guardrail against coverage silently eroding over time as new code is added.

Suggested fix

Add `thresholds` (lines/functions/branches/statements) set slightly below current coverage as a baseline, and ratchet up over time.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programtestingTests and QA

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions