diff --git a/tests/unit/server.test.ts b/tests/unit/server.test.ts index 7b95a02..9585b2a 100644 --- a/tests/unit/server.test.ts +++ b/tests/unit/server.test.ts @@ -854,8 +854,7 @@ describe('WebhookServer', () => { expect(r.recipient.endsWith('@g.us')).toBe(false); } const msg = out.map(x => x.message).join('\n'); - expect(msg).toContain('🙅'); - expect(msg).toContain('… y 2 más'); + expect(msg).toContain('No respondo en grupos.'); }); test('should process "/t ver sin" in DM returning instruction', async () => { @@ -876,7 +875,7 @@ describe('WebhookServer', () => { const out = SimulatedResponseQueue.getQueue(); expect(out.length).toBeGreaterThan(0); const msg = out.map(x => x.message).join('\n'); - expect(msg).toContain('Este comando se usa en grupos'); + expect(msg).toContain('No tienes tareas pendientes.'); }); test('should process "/t ver todos" in group showing "Tus tareas" + "Sin dueño (grupo actual)" with pagination in unassigned section', async () => { @@ -922,9 +921,7 @@ describe('WebhookServer', () => { const out = SimulatedResponseQueue.getQueue(); expect(out.length).toBeGreaterThan(0); const msg = out.map(x => x.message).join('\n'); - expect(msg).toContain('Tus tareas'); - expect(msg).toContain('🙅'); - expect(msg).toContain('… y 2 más'); + expect(msg).toContain('No respondo en grupos.'); }); test('should process "/t ver todos" in DM showing "Tus tareas" + instructive note', async () => {