Today pnpm coverage enforces 100% line and function coverage but branch coverage sits around 93%. Push branch coverage to >= 98% and add --test-coverage-branches=98 to the script.
Acceptance criteria:
- All src/ files report >= 98% branch coverage.
- package.json coverage script enforces the threshold so regressions fail CI.
- Any intentionally-skipped branches are documented inline.
Tracked on the roadmap: https://github.com/daloyjs/daloy/blob/main/ROADMAP.md#next--020-ergonomics--ops
Today pnpm coverage enforces 100% line and function coverage but branch coverage sits around 93%. Push branch coverage to >= 98% and add --test-coverage-branches=98 to the script.
Acceptance criteria:
Tracked on the roadmap: https://github.com/daloyjs/daloy/blob/main/ROADMAP.md#next--020-ergonomics--ops