Commit e83611b
committed
fix(ci): remove jest coverageThreshold — tighten codecov.yml to 80% hard floor
In the split CI matrix (unit / integration / e2e), each job only loads its
slice of collectCoverageFrom paths, so a global Jest threshold always fails
(reports 61% instead of 80%). The correct enforcement layer is Codecov, which
merges unit + integration flags server-side before applying the gate.
Changes:
- jest.config.js: remove coverageThreshold; add explanatory comment (efd7bbc rationale)
- codecov.yml: harden project target from `auto` to 80% hard floor to prevent
long-term coverage decay; patch stays `auto` (new code matches local module baseline)1 parent 2c95b55 commit e83611b
2 files changed
Lines changed: 11 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
6 | | - | |
| 5 | + | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
13 | | - | |
| 12 | + | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
71 | | - | |
72 | | - | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
79 | 77 | | |
80 | 78 | | |
81 | 79 | | |
| |||
0 commit comments