mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-08 12:32:43 +00:00
Eight test and fixture files hardcoded scoreVersion: 2, a value the constant has not held since v1.35.0. Now they import SCORE_VERSION and use it, so a future bump cannot leave a fixture pinned to a stale number. The one genuinely historical case (record.test.ts, proving the input fingerprint moves when the algorithm version moves) now derives both its "previous" and "current" markers from SCORE_VERSION instead of two unrelated literals, so the pair keeps its meaning after the next bump.