|
|
@ -6,7 +6,8 @@ describe('CommandService', () => {
|
|
|
|
sender: '1234567890@s.whatsapp.net',
|
|
|
|
sender: '1234567890@s.whatsapp.net',
|
|
|
|
groupId: 'group-id@g.us',
|
|
|
|
groupId: 'group-id@g.us',
|
|
|
|
message: '/tarea nueva Test task @user1 2025-12-31',
|
|
|
|
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 () => {
|
|
|
|
test('should ignore non-tarea commands', async () => {
|
|
|
|