chore(server): promise safety net and sweep tooling for the async migration

This commit is contained in:
jubnl
2026-09-21 19:01:38 +02:00
parent ef184ec7c2
commit 27d044f9e8
18 changed files with 711 additions and 23 deletions
@@ -229,7 +229,7 @@ describe('BackupService (wrapper)', () => {
await expect(wrapper.restoreBackup('svc.zip')).resolves.toEqual({ success: true });
expect(backupSvc.restoreBackup).toHaveBeenCalledWith(storage, 'svc.zip');
wrapper.deleteBackup('svc.zip');
await wrapper.deleteBackup('svc.zip');
expect(backupSvc.deleteBackup).toHaveBeenCalledWith(storage, 'svc.zip');
expect(wrapper.isValidBackupFilename('svc.zip')).toBe(true);