Upgrade mock-server to v13.2.2
This commit is contained in:
parent
fb6f5235ad
commit
34b22fc6ce
4 changed files with 17 additions and 17 deletions
|
@ -119,9 +119,9 @@ describe('story/no-sender-key', function (this: Mocha.Suite) {
|
|||
contacts.map(async contact => {
|
||||
const { storyMessage } = await contact.waitForStory();
|
||||
assert.isTrue(
|
||||
phone.profileKey
|
||||
.serialize()
|
||||
.equals(storyMessage.profileKey ?? new Uint8Array(0))
|
||||
Buffer.from(phone.profileKey.serialize()).equals(
|
||||
storyMessage.profileKey ?? new Uint8Array(0)
|
||||
)
|
||||
);
|
||||
assert.strictEqual(storyMessage.textAttachment?.text, '123');
|
||||
})
|
||||
|
|
|
@ -108,9 +108,9 @@ describe('storage service', function (this: Mocha.Suite) {
|
|||
'profile key message has valid source'
|
||||
);
|
||||
assert.isTrue(
|
||||
phone.profileKey
|
||||
.serialize()
|
||||
.equals(dataMessage.profileKey ?? new Uint8Array(0)),
|
||||
Buffer.from(phone.profileKey.serialize()).equals(
|
||||
dataMessage.profileKey ?? new Uint8Array(0)
|
||||
),
|
||||
'profile key message has correct profile key'
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue