Commit 20814d3
committed
chore: move api coverage config out of inline test:run
- Move Node's test-runner coverage config (thresholds + excludes + isolation)
into apps/api/node.config.json under the testRunner namespace, loaded via
--experimental-default-config-file, so test:run is a legible one-liner
- Preserve the enforced floors (lines 80 / branches 75 / functions 75), all
five coverage excludes, source maps, and isolation=none unchanged
- --env-file stays inline (Node reads it at early bootstrap, before config-file
namespaces are applied)
- Correct stale api coverage floors in root CLAUDE.md (documented 80/90; the
actually-enforced floors were 75/75) and point both CLAUDE.md files at the
new config file
Refs #1061 parent 6fd0137 commit 20814d3
4 files changed
Lines changed: 23 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
0 commit comments