Update dependency maplibre-gl to v2 (#9699)
* Update dependency maplibre-gl to v2 * update types and mocks for maplibre 2.0 * prettier + strict fix Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Kerry Archibald <kerrya@element.io>
This commit is contained in:
parent
9584388171
commit
af3715821b
21 changed files with 97 additions and 104 deletions
|
@ -28,6 +28,7 @@ class MockMap extends EventEmitter {
|
|||
}
|
||||
const MockMapInstance = new MockMap();
|
||||
|
||||
class MockAttributionControl {}
|
||||
class MockGeolocateControl extends EventEmitter {
|
||||
trigger = jest.fn();
|
||||
}
|
||||
|
@ -43,5 +44,5 @@ module.exports = {
|
|||
LngLat,
|
||||
LngLatBounds,
|
||||
NavigationControl,
|
||||
AttributionControl,
|
||||
AttributionControl: MockAttributionControl,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue