You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Aim to gradually increase coverage toward the long-term goal of 80%+ across all metrics
186
187
- Test edge cases and error states
187
188
188
189
## Code Style
@@ -373,6 +374,16 @@ Our repository includes several automated GitHub workflows that will run when yo
373
374
-**Tests**: Runs unit and integration tests
374
375
-**Build**: Ensures all packages build successfully
375
376
-**Matrix Testing**: Tests on Node.js 18.x and 20.x
377
+
-**Coverage Thresholds**: Enforces minimum test coverage (see below)
378
+
379
+
##### Test Coverage Requirements
380
+
The project enforces minimum test coverage thresholds to maintain code quality:
381
+
-**Lines**: 63% (target: gradually increase to 80%)
382
+
-**Functions**: 43% (target: gradually increase to 80%)
383
+
-**Branches**: 40% (target: gradually increase to 75%)
384
+
-**Statements**: 62% (target: gradually increase to 80%)
385
+
386
+
These thresholds are intentionally set just below current coverage levels to prevent CI failures from minor fluctuations while we improve test coverage. New code should aim for higher coverage than these minimums.
376
387
377
388
#### Security Scans
378
389
-**CodeQL**: Scans for security vulnerabilities in code
0 commit comments