Skip to content

ci: enforce 75% Jest coverage thresholds#125

Open
abubakarlekson27577-wq wants to merge 1 commit into
Miracle656:mainfrom
abubakarlekson27577-wq:feat/coverage-thresholds
Open

ci: enforce 75% Jest coverage thresholds#125
abubakarlekson27577-wq wants to merge 1 commit into
Miracle656:mainfrom
abubakarlekson27577-wq:feat/coverage-thresholds

Conversation

@abubakarlekson27577-wq

Copy link
Copy Markdown

Title: ci: enforce 75% Jest coverage thresholds

Description:

Adds coverage enforcement to lock the quality floor.

Changes

  • Enabled collectCoverage: true in the Jest config so coverage is always gathered on npm test
  • Added coverageThreshold requiring ≥ 75% on lines, functions, branches, and statements
    globally

How CI is affected

No workflow changes needed — the existing npm test --if-present step in the build job already
fails the run when Jest exits non-zero, which it will do whenever any threshold is breached.
closes #108

@drips-wave

drips-wave Bot commented Jun 24, 2026

Copy link
Copy Markdown

@abubakarlekson27577-wq Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Coverage threshold gate at 75%

1 participant