element-web/__mocks__
Kerry f70186ea9b
Live location sharing: set map bounds to include all locations (#8324)
* open a dialog with map centered around first beacon

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test dialog opening from beacon body

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test beaconmarker

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add bounds to Map comp

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add focusBeacon to beaconviewdialog, use bounds

Signed-off-by: Kerry Archibald <kerrya@element.io>

* lint

Signed-off-by: Kerry Archibald <kerrya@element.io>

* use membercolor on beacon view markers

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add lnglatbounds to maplibre mock

Signed-off-by: Kerry Archibald <kerrya@element.io>

* update snapshots for expanded maplibre Map mock

Signed-off-by: Kerry Archibald <kerrya@element.io>

* test map bounds

Signed-off-by: Kerry Archibald <kerrya@element.io>

* tidy copy paste comment

Signed-off-by: Kerry Archibald <kerrya@element.io>

* add fallback when no more live locations

Signed-off-by: Kerry Archibald <kerrya@element.io>

* accurate signature for getBoundsCenter

Signed-off-by: Kerry Archibald <kerrya@element.io>
2022-04-19 11:35:39 +00:00
..
browser-request.js fix fallback for pluralized strings (#7480) 2022-01-07 16:20:24 +01:00
empty.js Make the tests happier 2021-05-06 22:08:00 -06:00
FontManager.js Remove node-canvas devDependency 2021-07-12 20:51:21 +01:00
imageMock.js Down to 7 test failures 2019-12-17 11:24:37 +00:00
languages.json Fix resolution of files for Jest 2020-01-09 17:22:21 -07:00
maplibre-gl.js Live location sharing: set map bounds to include all locations (#8324) 2022-04-19 11:35:39 +00:00
svg.js Jest mock for svgr icons (#7941) 2022-03-02 12:05:50 +00:00
workerMock.js stub out workers for jest tests as it doesn't like the worker-loader 2021-07-14 18:50:01 +01:00