test(share): the map test's page hook knows the folded days and the map's day pick

The redesigned share page reads collapsedDays, toggleDay and pickDayOnMap
from its hook; the map test's stand-in left them out and every case there
failed on the missing set.
This commit is contained in:
Maurice
2026-09-28 16:52:32 +02:00
parent bbf8d94f9f
commit 9064ee57b7
@@ -74,6 +74,9 @@ function hookState(data: unknown) {
convert: (n: number) => n,
selectedDay: null,
setSelectedDay: vi.fn(),
pickDayOnMap: vi.fn(),
collapsedDays: new Set<number>(),
toggleDay: vi.fn(),
activeTab: 'plan',
setActiveTab: vi.fn(),
showLangPicker: false,