From 9f8ff1ea29adc7e3423b6760ef53b6050c4ca681 Mon Sep 17 00:00:00 2001 From: Adhiraj Date: Sun, 23 Aug 2020 22:43:26 +0530 Subject: [PATCH] Update Tests.Groups.ts --- src/Tests/Tests.Groups.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tests/Tests.Groups.ts b/src/Tests/Tests.Groups.ts index 9139cfa..aa45779 100644 --- a/src/Tests/Tests.Groups.ts +++ b/src/Tests/Tests.Groups.ts @@ -61,9 +61,9 @@ WAConnectionTest('Groups', (conn) => { it('should update the subject', async () => { const subject = 'Baileyz ' + Math.floor(Math.random()*5) const waitForEvent = new Promise (resolve => { - conn.on ('chat-update', ({jid, title}) => { + conn.on ('chat-update', ({jid, name}) => { if (jid === gid) { - assert.equal (title, subject) + assert.equal (name, subject) resolve () } })