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:
@@ -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) ───────────────────────────────
|
||||
|
||||
Reference in New Issue
Block a user