Bug 1892105 - Add a postRecoveryComplete Promise getter to BackupService. r=backup-reviewers,kpatenio
This Promise is mainly for use by Marionette tests to know when to check data stores that might have been updated by postRecovery steps. Differential Revision: https://phabricator.services.mozilla.com/D208938
This commit is contained in:
@@ -391,6 +391,7 @@ add_task(async function test_checkForPostRecovery() {
|
||||
});
|
||||
|
||||
await bs.checkForPostRecovery(testProfilePath);
|
||||
await bs.postRecoveryComplete;
|
||||
|
||||
Assert.ok(
|
||||
FakeBackupResource1.prototype.postRecovery.calledOnce,
|
||||
|
||||
Reference in New Issue
Block a user