From 896f48e8718a61123a8297b4bef264e18fd230f0 Mon Sep 17 00:00:00 2001 From: EmeditWeb Date: Wed, 22 Jul 2026 13:40:43 +0100 Subject: [PATCH] fix(test): add timestamp to checkDatabase mock in health spec MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit main build broke after #86 and #93 both edited health.service.spec.ts: they auto-merged textually but #86 made checkDatabase's return require `timestamp` while the line-66 mock (from #93) omitted it — a semantic merge collision green in each PR but red on main. Restores tsc build. --- test/unit/modules/health/health.service.spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unit/modules/health/health.service.spec.ts b/test/unit/modules/health/health.service.spec.ts index 7ad8fc6..f766a12 100644 --- a/test/unit/modules/health/health.service.spec.ts +++ b/test/unit/modules/health/health.service.spec.ts @@ -67,6 +67,7 @@ describe('HealthService', () => { status: 'ok', database: 'connected', message: 'Supabase reachable', + timestamp: new Date().toISOString(), }); jest.spyOn(service, 'checkHorizon').mockResolvedValue({ status: 'ok' }); jest.spyOn(service, 'checkIndexerLag').mockResolvedValue({ status: 'ok' });