A modern, self-hosted backup solution for secure, encrypted backups across local and cloud storage.
test: fix test cases to facilitate recent cron interval change
towfiqi7e402a0fa9b3
diff --git a/backend/__tests__/utils/intervalToCron.test.ts b/backend/__tests__/utils/intervalToCron.test.tsindex 6351600..f93120f 100644--- a/backend/__tests__/utils/intervalToCron.test.ts+++ b/backend/__tests__/utils/intervalToCron.test.ts@@ -365,7 +365,7 @@ describe('getIntervalLabel', () => {it('should handle empty days array', () => {const interval: PlanInterval = { type: 'weekly', days: '' };- expect(getIntervalLabel(interval)).toMatch(/Runs Once Per Week on/);+ expect(getIntervalLabel(interval)).toMatch(/Runs 0 Times Per Week/);});});});