test: update command test context with createdBy field

main
borja (aider) 3 months ago
parent 8c08ec763c
commit 4bc78f476c

@ -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 () => {

Loading…
Cancel
Save