Skip to content

Commit 8ab322a

Browse files
authored
fix: logout from (#998)
1 parent 1b18d67 commit 8ab322a

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/routes/Settings.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ describe('routes/Settings.tsx', () => {
6464
);
6565
});
6666

67-
fireEvent.click(screen.getByTitle('Logout octocat'));
67+
fireEvent.click(screen.getByTitle('Logout from octocat'));
6868

6969
expect(logoutMock).toHaveBeenCalledTimes(1);
7070

src/routes/Settings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ export const SettingsRoute: FC = () => {
244244
<button
245245
type="button"
246246
className={footerButtonClass}
247-
title={`Logout ${accounts.user.login}`}
247+
title={`Logout from ${accounts.user.login}`}
248248
role="button"
249249
onClick={logoutUser}
250250
>

src/routes/__snapshots__/Settings.test.tsx.snap

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)