Files
MagicMirror/tests/unit/modules/default/calendar
Kristjan ESPERANTO 9fe7d1eb75 test(calendar): fix hardcoded date in event shape test (#4055)
While looking into #4053 I noticed that one of the calendar tests had
stopped working. The cause was simple: the test had `2026-03-10`
hardcoded, and since that date is now in the past, the event was
silently filtered out by `includePastEvents: false`.

Instead of bumping the date to some future value (which would only delay
the same problem), I made it relative so it always lies in the future.

Command to test:

```bash
npx vitest run tests/unit/modules/default/calendar/
```
2026-03-12 00:40:23 +01:00
..