From 9bbdb8c659721c7f51d6fc8bf8d5e59c52414c1e Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 11 Apr 2024 09:42:41 -0400 Subject: [PATCH] fix: logout from --- src/routes/Settings.test.tsx | 2 +- src/routes/Settings.tsx | 2 +- src/routes/__snapshots__/Settings.test.tsx.snap | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/routes/Settings.test.tsx b/src/routes/Settings.test.tsx index 26ba42a90..eefc923b3 100644 --- a/src/routes/Settings.test.tsx +++ b/src/routes/Settings.test.tsx @@ -64,7 +64,7 @@ describe('routes/Settings.tsx', () => { ); }); - fireEvent.click(screen.getByTitle('Logout octocat')); + fireEvent.click(screen.getByTitle('Logout from octocat')); expect(logoutMock).toHaveBeenCalledTimes(1); diff --git a/src/routes/Settings.tsx b/src/routes/Settings.tsx index 89eb56c25..ddc94a448 100644 --- a/src/routes/Settings.tsx +++ b/src/routes/Settings.tsx @@ -244,7 +244,7 @@ export const SettingsRoute: FC = () => {