diff --git a/tests/unit/server.test.ts b/tests/unit/server.test.ts index cc0af5d..0aed117 100644 --- a/tests/unit/server.test.ts +++ b/tests/unit/server.test.ts @@ -287,7 +287,13 @@ describe('WebhookServer', () => { await WebhookServer.handleRequest(createTestRequest(payload)); - // Verify the two command-related log calls + // Verify the three command-related log calls + expect(consoleSpy).toHaveBeenCalledTimes(3); + + expect(consoleSpy).toHaveBeenCalledWith( + 'â„šī¸ Incoming webhook request:' + ); + expect(consoleSpy).toHaveBeenCalledWith( '🔍 Detected /tarea command:', expect.objectContaining({