mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
The unit suite mocks Prisma, so it proves the discriminant and nothing about the query underneath it — a wrong column would have left every test green and every account answering no_data_unconfirmed in production. Seeds the reported case and the four other shapes: an empty record, another account's rows, tombstoned rows, and a history that mixes units. Rounds the out-of-window mean to one decimal, like every other mean the snapshot surfaces, and annotates a failed manifest probe rather than letting it degrade in silence.