Port location unit tests from enzyme to react-testing-library (#10181)

* SmartMarker test to rtl

* LocationPicker to rtl

* LocationViewDialog to rtl

* LocationShareMenu to rtl

* use toBeDisabled assertion
This commit is contained in:
Kerry
2023-02-20 18:35:39 +00:00
committed by GitHub
parent a06163ee98
commit 3fafa4b58d
16 changed files with 290 additions and 613 deletions
@@ -9,7 +9,7 @@ exports[`<MBeaconBody /> when map display is not configured renders maps unavail
>
<div
className="mx_MapError mx_MBeaconBody_mapError mx_MBeaconBody_mapErrorInteractive mx_MapError_isMinimised"
data-test-id="map-rendering-error"
data-testid="map-rendering-error"
onClick={[Function]}
>
<div