From 59ebdc0fdc9a105d2725caa419d1a7cfbe772dac Mon Sep 17 00:00:00 2001 From: Davide Mininni Date: Mon, 16 Dec 2024 15:00:45 +0100 Subject: [PATCH] fix: tests --- src/elements/calendar/calendar.spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);