Simplify OutgoingIdentityKeyError, use it in getKeysForIdentifier
This commit is contained in:
parent
e4b4a0cd1e
commit
fcb96bf92a
6 changed files with 32 additions and 33 deletions
|
@ -178,12 +178,7 @@ describe('sendToGroup', () => {
|
|||
it('returns true for certain types of error subclasses', async () => {
|
||||
assert.isTrue(
|
||||
_shouldFailSend(
|
||||
new OutgoingIdentityKeyError(
|
||||
'something',
|
||||
new Uint8Array(),
|
||||
200,
|
||||
new Uint8Array()
|
||||
),
|
||||
new OutgoingIdentityKeyError('something'),
|
||||
'testing OutgoingIdentityKeyError'
|
||||
)
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue