Description
There is no coverage reporting. Contributors can merge PRs that reduce test coverage without any visibility.
Proposed Solution
Configure Jest with --coverage and set minimum thresholds (e.g., 70% lines, 60% branches). Add a CI step that fails the build if coverage drops.
Acceptance Criteria
Suggested Implementation Areas
package.json, .github/workflows/
Impact
Prevents gradual test coverage erosion and ensures new code is adequately tested.
Description
There is no coverage reporting. Contributors can merge PRs that reduce test coverage without any visibility.
Proposed Solution
Configure Jest with
--coverageand set minimum thresholds (e.g., 70% lines, 60% branches). Add a CI step that fails the build if coverage drops.Acceptance Criteria
Suggested Implementation Areas
package.json,.github/workflows/Impact
Prevents gradual test coverage erosion and ensures new code is adequately tested.