test: Update ping command test to expect 'pong' response

This commit is contained in:
tcheeric 2025-11-26 18:26:03 +00:00
parent 4c6bf93080
commit 35ab552e79

View File

@ -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()
);
});