fix(06): set hasRrule on EventDetailPopover test fixtures

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.
This commit is contained in:
Lucas Berger
2026-06-10 11:44:37 -04:00
parent 883b00b92b
commit 69e5ae8726
@@ -62,6 +62,7 @@ const TIMED_OCCURRENCE: CalendarOccurrence = {
allDay: false, allDay: false,
location: 'Conference Room B', location: 'Conference Room B',
description: 'Daily team sync meeting', description: 'Daily team sync meeting',
hasRrule: false,
} }
const OCCURRENCE_WITH_HTML: CalendarOccurrence = { const OCCURRENCE_WITH_HTML: CalendarOccurrence = {
@@ -88,6 +89,7 @@ const ALLDAY_OCCURRENCE: CalendarOccurrence = {
allDay: true, allDay: true,
location: null, location: null,
description: null, description: null,
hasRrule: false,
} }
// ── Import component (after mocks are declared) ─────────────────────────────── // ── Import component (after mocks are declared) ───────────────────────────────