diff --git a/src/elements/calendar/calendar.spec.ts b/src/elements/calendar/calendar.spec.ts index 642bf653e6..79793cb3c0 100644 --- a/src/elements/calendar/calendar.spec.ts +++ b/src/elements/calendar/calendar.spec.ts @@ -256,7 +256,7 @@ describe(`sbb-calendar`, () => { }); it('opens month view with current date', async () => { - element.selected = undefined; + element.selected = null; element.now = '2022-08-15'; element.view = 'month'; await waitForLitRender(element);