fix: message replies compatible with WhatsApp Web v2.2241.6 (#1765)
* fix message replies * fix up some tests
This commit is contained in:
parent
7bb7f13f07
commit
9981723505
1 changed files with 15 additions and 5 deletions
|
|
@ -98,7 +98,7 @@ describe('Client', function() {
|
|||
await helper.sleep(20000);
|
||||
|
||||
expect(callback.called).to.equal(true);
|
||||
expect(callback.args[0][0]).to.have.lengthOf(152);
|
||||
expect(callback.args[0][0]).to.have.length.greaterThanOrEqual(152);
|
||||
|
||||
await client.destroy();
|
||||
});
|
||||
|
|
@ -224,7 +224,7 @@ describe('Client', function() {
|
|||
|
||||
expect(authFailCallback.called).to.equal(true);
|
||||
expect(qrCallback.called).to.equal(true);
|
||||
expect(qrCallback.args[0][0]).to.have.lengthOf(152);
|
||||
expect(qrCallback.args[0][0]).to.have.length.greaterThanOrEqual(152);
|
||||
|
||||
await client.destroy();
|
||||
});
|
||||
|
|
@ -346,7 +346,6 @@ describe('Client', function() {
|
|||
'UserConstructor',
|
||||
'VCard',
|
||||
'Validators',
|
||||
'Wap',
|
||||
'WidFactory',
|
||||
'findCommonGroups',
|
||||
'sendReactionToMsg',
|
||||
|
|
|
|||
Loading…
Reference in a new issue