1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-08-09 08:42:50 +03:00

Run a minor code quality checker over the repo (#8524)

* Run a minor code quality checker over the repo

Largely targeted at spelling of common words and misc code issues.

* Update snapshots
This commit is contained in:
Travis Ralston
2022-05-09 16:52:05 -06:00
committed by GitHub
parent 89d7760f36
commit 548290b006
56 changed files with 72 additions and 72 deletions

View File

@@ -168,7 +168,7 @@ describe('<LeftPanelLiveShareWarning />', () => {
const component = getComponent();
// error mode
expect(component.find('.mx_LeftPanelLiveShareWarning').at(0).text()).toEqual(
'An error occured whilst sharing your live location',
'An error occurred whilst sharing your live location',
);
act(() => {

View File

@@ -359,7 +359,7 @@ describe('<RoomLiveShareWarning />', () => {
// renders wire error ui
expect(component.find('.mx_RoomLiveShareWarning_label').text()).toEqual(
'An error occured whilst sharing your live location, please try again',
'An error occurred whilst sharing your live location, please try again',
);
expect(findByTestId(component, 'room-live-share-wire-error-close-button').length).toBeTruthy();
});

View File

@@ -69,7 +69,7 @@ exports[`<LeftPanelLiveShareWarning /> when user has live location monitor rende
role="button"
tabIndex={0}
>
An error occured whilst sharing your live location
An error occurred whilst sharing your live location
</div>
</AccessibleButton>
</LeftPanelLiveShareWarning>

View File

@@ -32,7 +32,7 @@ exports[`<RoomLiveShareWarning /> when user has live beacons and geolocation is
<span
className="mx_RoomLiveShareWarning_label"
>
An error occured whilst sharing your live location, please try again
An error occurred whilst sharing your live location, please try again
</span>
<AccessibleButton
className="mx_RoomLiveShareWarning_stopButton"