-
-
Notifications
You must be signed in to change notification settings - Fork 604
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Crypto: use a new error code for UTDs from device-relative historical…
… events (#4139) * Add `PerSessionKeyBackupDownloader.isKeyBackupDownloadConfigured()` * Add new `RustBackupManager.getServerBackupInfo` ... and a convenience method in PerSessionKeyBackupDownloader to access it. * Crypto.spec: move `useRealTimers` to global `afterEach` ... so that we don't need to remember to do it everywhere. * Use fake timers for UTD error code tests This doesn't have any effect on the tests, but *does* stop jest from hanging when you run the tests in in-band mode. It shouldn't *really* be needed, but using fake timers gives more reproducible tests, and I don't have the time/patience to debug why it is needed. * Use new error codes for UTDs from historical events
- Loading branch information
Showing
7 changed files
with
245 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.