Stop repeating cancelled scheduled Fetch

This commit is contained in:
vorotamoroz
2026-08-08 04:29:57 +00:00
parent b05309ad9c
commit d37af53858
2 changed files with 11 additions and 1 deletions
+10
View File
@@ -581,6 +581,16 @@ describe("Red Flag Feature", () => {
expect(result).toBe(false);
expect(host.mocks.ui.confirm.confirmWithMessage).not.toHaveBeenCalled();
expect(host.mocks.storageAccess.files.has(FlagFilesOriginal.FETCH_ALL)).toBe(false);
await expect(handler.check()).resolves.toBe(false);
expect(host.mocks.setting.applyPartial).toHaveBeenCalledWith(
{
suspendFileWatching: true,
suspendParseReplicationResult: true,
},
true
);
expect(host.mocks.appLifecycle.performRestart).toHaveBeenCalledOnce();
});
it("should activate selected remote configuration", async () => {