mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-06 02:34:21 +00:00
chore(server): promise safety net and sweep tooling for the async migration
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user