Backup: Support for calls

This commit is contained in:
Scott Nonnenberg 2024-08-14 04:39:04 +10:00 committed by GitHub
parent 3a631a587f
commit 63e14a7df6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
15 changed files with 1047 additions and 116 deletions

View file

@ -39,9 +39,9 @@ describe('backup/attachments', () => {
let contactA: ConversationModel;
beforeEach(async () => {
await DataWriter._removeAllMessages();
await DataWriter._removeAllConversations();
await DataWriter.removeAll();
window.storage.reset();
window.ConversationController.reset();
await setupBasics();
@ -69,7 +69,9 @@ describe('backup/attachments', () => {
});
});
afterEach(() => {
afterEach(async () => {
await DataWriter.removeAll();
sandbox.restore();
});