mirror of
https://github.com/MBombeck/HealthLog.git
synced 2026-11-11 13:52:20 +00:00
The bulk-delete, restore and by-external-ids suites mocked `invalidateStatusInsightsForTypes` on the comprehensive-generate barrel, while the shared post-mutation tail imports it from status-invalidation. The mock was never called, the real re-warm ran the capability loader against a stub database, and the "no invalidate" assertion could not fail. The mock now sits on the imported module; the positive cases assert the re-warm with the distinct types, the zero-row cases assert its absence.