mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2026-05-03 06:41:19 +01:00
Add mock test for a 413 response from v1/challenge
This commit is contained in:
@@ -261,6 +261,9 @@ describe('ChallengeHandler', () => {
|
||||
// Go back online
|
||||
await handler.onOnline();
|
||||
|
||||
// startQueue awaits this.unregister() before calling options.startQueue
|
||||
await this.clock.nextAsync();
|
||||
|
||||
assert.isFalse(isInStorage(one.conversationId));
|
||||
assert.deepEqual(queuesStarted, [one.conversationId]);
|
||||
assert.equal(challengeStatus, 'idle');
|
||||
|
||||
Reference in New Issue
Block a user