Adds two integration suites covering reconciliation rulings that the existing crewing tests left on the happy path only: - leave-clash.test.ts (R6/A5, §5.3): the cover-subtraction and date-overlap paths in leaveCausesClash — a same-rank crew already on an *overlapping* approved leave is not available cover (auto-raises), a non-overlapping leave still counts (no raise), different-rank crew never count, and a configured minStrength still met after the leave does not raise. - crewing-gates.test.ts: salary/selection *returns* are Manager-only and audited (R8); an interview waiver can never reach a NEW candidate by any path, incl. the Manager (R2); bank reject requires remarks; PPE / next-of-kin verify gates are MPO-only with remarks on reject (R11/§8.11); and a SUBMITTED appraisal cannot be Manager-approved without MPO verification (H3). Full suite: 245 unit + 225 integration green. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| e2e | ||
| fixtures | ||
| integration | ||
| unit | ||
| setup.ts | ||