mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Two integration assertions carried the import path's own copy of the mmol/L conversion, so unifying the two conversions left them asserting numbers the code no longer produces. They now multiply by the exported factor, which is what the unit tests already do. The reason these were missed before the merge is worth writing down: `pnpm test` does not run tests/integration, and neither the change that unified the factor nor the gate on the integrated branch ran the suite that covers the import path. A literal here re-pins whichever copy of a conversion the caller happened to use when the test was written, so the assertion is derived rather than pinned.