From 69e5ae87266df5acb5bb4c7d40f4606cc04b0cb6 Mon Sep 17 00:00:00 2001 From: Lucas Berger Date: Wed, 10 Jun 2026 11:44:37 -0400 Subject: [PATCH] fix(06): set hasRrule on EventDetailPopover test fixtures MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Plan 06-05 added hasRrule as a required field on the PWA CalendarOccurrence type (mirroring 06-03's server-side field), but pre-existing fixtures in EventDetailPopover.test.tsx did not set it — breaking tsc --noEmit / vite build (vitest passed because esbuild strips types). Both fixtures are non-recurring single events, so hasRrule: false is correct. Post-merge integration fix. --- apps/pwa/src/components/EventDetailPopover.test.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/pwa/src/components/EventDetailPopover.test.tsx b/apps/pwa/src/components/EventDetailPopover.test.tsx index 6e9da89..89f498e 100644 --- a/apps/pwa/src/components/EventDetailPopover.test.tsx +++ b/apps/pwa/src/components/EventDetailPopover.test.tsx @@ -62,6 +62,7 @@ const TIMED_OCCURRENCE: CalendarOccurrence = { allDay: false, location: 'Conference Room B', description: 'Daily team sync meeting', + hasRrule: false, } const OCCURRENCE_WITH_HTML: CalendarOccurrence = { @@ -88,6 +89,7 @@ const ALLDAY_OCCURRENCE: CalendarOccurrence = { allDay: true, location: null, description: null, + hasRrule: false, } // ── Import component (after mocks are declared) ───────────────────────────────