test(startup): mock backup settings service

This commit is contained in:
Dotta committed 2026-04-19 21:46:03 -05:00
1 parent 7ed50a74d3
commit c1a7cb6eaa
1 file changed
+9
@@ -128,6 +128,15 @@ vi.mock("../services/index.js", () => ({
})),
tickTimers: vi.fn(async () => ({ enqueued: 0 })),
})),
instanceSettingsService: vi.fn(() => ({
getGeneral: vi.fn(async () => ({
backupRetention: {
dailyDays: 7,
weeklyWeeks: 4,
monthlyMonths: 1,
},
})),
})),
reconcilePersistedRuntimeServicesOnStartup: vi.fn(async () => ({ reconciled: 0 })),
routineService: vi.fn(() => ({
tickScheduledTriggers: vi.fn(async () => ({ triggered: 0 })),