Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: give the Calendar page's daily-review mock the paged response shape (#10873)

Adam Eivy6a227f884683
diff --git a/client/src/pages/Calendar.test.jsx b/client/src/pages/Calendar.test.jsx
index 0b4c265c12..45179399ee 100644
--- a/client/src/pages/Calendar.test.jsx
+++ b/client/src/pages/Calendar.test.jsx
@@ -58,7 +58,7 @@ beforeEach(() => {
api.getCalendarEvents.mockResolvedValue({ events: [], total: 0 });
api.getCalendarTokenStatus.mockResolvedValue({ providers: [] });
api.getGoogleAuthStatus.mockResolvedValue(null);
- api.getDailyReview.mockResolvedValue({ events: [], summary: { totalEvents: 0, confirmed: 0, skipped: 0, unreviewed: 0 } });
+ api.getDailyReview.mockResolvedValue({ events: [], total: 0, nextOffset: null, summary: { totalEvents: 0, confirmed: 0, skipped: 0, unreviewed: 0 } });
api.getChronotypeEnergySchedule.mockResolvedValue(null);
});