From 4bc78f476c901f1921c4c96eb2622f9f0708846e Mon Sep 17 00:00:00 2001 From: "borja (aider)" Date: Fri, 28 Mar 2025 16:57:05 +0100 Subject: [PATCH] test: update command test context with createdBy field --- tests/unit/services/command.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/unit/services/command.test.ts b/tests/unit/services/command.test.ts index 7cea35e..0257bdf 100644 --- a/tests/unit/services/command.test.ts +++ b/tests/unit/services/command.test.ts @@ -6,7 +6,8 @@ describe('CommandService', () => { sender: '1234567890@s.whatsapp.net', groupId: 'group-id@g.us', message: '/tarea nueva Test task @user1 2025-12-31', - mentions: ['user1@s.whatsapp.net'] + mentions: ['user1@s.whatsapp.net'], + createdBy: '1234567890@s.whatsapp.net' // Added to match new interface }; test('should ignore non-tarea commands', async () => {