From 35ab552e79010f782f2f2b3832ffd23939103b10 Mon Sep 17 00:00:00 2001 From: tcheeric Date: Wed, 26 Nov 2025 18:26:03 +0000 Subject: [PATCH] test: Update ping command test to expect 'pong' response --- src/daemon/admin/commands/__tests__/ping.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/daemon/admin/commands/__tests__/ping.test.ts b/src/daemon/admin/commands/__tests__/ping.test.ts index 2bd48af..79710fd 100644 --- a/src/daemon/admin/commands/__tests__/ping.test.ts +++ b/src/daemon/admin/commands/__tests__/ping.test.ts @@ -8,7 +8,7 @@ describe('ping', () => { resetMocks(); }); - it('should respond with ok', async () => { + it('should respond with pong', async () => { const admin = createMockAdmin(); const req = createMockRequest([]); @@ -18,7 +18,7 @@ describe('ping', () => { expect(admin.rpc.sendResponse).toHaveBeenCalledWith( req.id, req.pubkey, - 'ok', + 'pong', expect.anything() ); });