spawn/bunfig.toml
A c82865707a
feat: fix coverage threshold enforcement with correct bunfig syntax (#2818)
The original bunfig.toml used `line` and `function` (singular) which Bun
silently ignores. The correct field names are `lines` and `functions` (plural).

Changes:
- Fix field names: line→lines, function→functions
- Set thresholds: lines=0.35 (floor: digitalocean.ts 38.5%), functions=0.5
  (floor: preload.ts 50%)
- Add coverageSkipTestFiles=true
- Keep --coverage in CI (bunfig thresholds enforce exit code on failure)

Co-authored-by: Claude <claude@anthropic.com>
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-authored-by: L <6723574+louisgv@users.noreply.github.com>
2026-03-20 02:21:40 -07:00

4 lines
144 B
TOML

[test]
preload = ["./packages/cli/src/__tests__/preload.ts"]
coverageSkipTestFiles = true
coverageThreshold = { lines = 0.35, functions = 0.5 }