This commit is contained in:
Andras Schmelczer 2026-05-26 19:45:13 +01:00
parent c645b0f1d4
commit 39ef5c6646
79 changed files with 5660 additions and 2199 deletions

View file

@ -146,10 +146,12 @@ describe('usePoiLayers', () => {
);
expect(layerById(result.current.poiLayers, 'poi-background').props.data).toEqual([]);
expect(result.current.visiblePois).toEqual([]);
rerender({ zoom: 14 });
expect(layerById(result.current.poiLayers, 'poi-background').props.data).toEqual([busStop]);
expect(result.current.visiblePois).toEqual([busStop]);
});
it('keeps POI hover popup state in sync with layer hover events', () => {