mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Existing coverage only exercised the deterministic prompt formatter. The Prisma-driven branches around window arithmetic, meds[0] pick, and threshold comparison were untested — the previous regressions flagged by W10 (security sanitise + timezone) could have slipped. Ten new tests pin the seven return paths plus the multi-medication first-pick contract and the drug-name first-word display token.