test(tours): follow the reworked planner, ferrata and map stage in their suites; keep the map's waypoint list stable between renders

This commit is contained in:
Maurice
2026-10-14 23:01:52 +02:00
parent bdb082d490
commit 6e59240328
16 changed files with 105 additions and 58 deletions
@@ -49,7 +49,7 @@ describe('useFerrataMapLayer', () => {
expect(result.current.layer.active).toBe(false);
expect(result.current.layer.count).toBe(0);
expect(result.current.selected).toBeNull();
expect(lastCall()).toEqual([7, null, false, null]);
expect(lastCall()).toEqual([7, null, false, null, []]);
});
it('FE-FERRATA-MAPLAYER-002: an area reported while off is remembered without a re-render, and used once it is on', () => {