Backup support for link preview and contact attachments

This commit is contained in:
trevor-signal 2024-05-30 14:53:30 -04:00 committed by GitHub
parent 4aa898f495
commit 534029d2e6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 357 additions and 54 deletions

View file

@ -152,6 +152,9 @@ describe('backups', function (this: Mocha.Suite) {
);
}
const backupPath = bootstrap.getBackupPath('backup.bin');
await app.exportBackupToDisk(backupPath);
const comparator = await bootstrap.createScreenshotComparator(
app,
async (window, snapshot) => {
@ -185,8 +188,6 @@ describe('backups', function (this: Mocha.Suite) {
this.test
);
const backupPath = bootstrap.getBackupPath('backup.bin');
await app.exportBackupToDisk(backupPath);
await app.close();
// Restart