alright
This commit is contained in:
parent
c645b0f1d4
commit
39ef5c6646
79 changed files with 5660 additions and 2199 deletions
|
|
@ -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', () => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue