mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-02 22:00:19 +00:00
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>
This commit is contained in:
parent
54820f0bea
commit
c82865707a
2 changed files with 3 additions and 2 deletions
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
|
|
@ -23,7 +23,7 @@ jobs:
|
|||
- name: Install dependencies
|
||||
run: bun install
|
||||
|
||||
- name: Run mock tests
|
||||
- name: Run tests with coverage
|
||||
run: bun test --coverage
|
||||
|
||||
unit-tests:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue