diff --git a/src/components/RepositoryNotifications.test.tsx b/src/components/RepositoryNotifications.test.tsx index 635463ff2..c2bbf92c6 100644 --- a/src/components/RepositoryNotifications.test.tsx +++ b/src/components/RepositoryNotifications.test.tsx @@ -64,7 +64,7 @@ describe('components/RepositoryNotifications.tsx', () => { , ); - fireEvent.click(screen.getByTitle('Mark Repository as Read')); + fireEvent.click(screen.getByTitle('Mark repository as read')); expect(markRepoNotificationsRead).toHaveBeenCalledWith( mockSingleNotification, @@ -80,7 +80,7 @@ describe('components/RepositoryNotifications.tsx', () => { , ); - fireEvent.click(screen.getByTitle('Mark Repository as Done')); + fireEvent.click(screen.getByTitle('Mark repository as done')); expect(markRepoNotificationsDone).toHaveBeenCalledWith( mockSingleNotification, diff --git a/src/components/RepositoryNotifications.tsx b/src/components/RepositoryNotifications.tsx index c07baa892..fa5604432 100644 --- a/src/components/RepositoryNotifications.tsx +++ b/src/components/RepositoryNotifications.tsx @@ -83,7 +83,7 @@ export const RepositoryNotifications: FC = ({ {isMarkAsDoneFeatureSupported(repoNotifications[0].account) && ( ) => { @@ -96,7 +96,7 @@ export const RepositoryNotifications: FC = ({ /> )} ) => { diff --git a/src/components/__snapshots__/RepositoryNotifications.test.tsx.snap b/src/components/__snapshots__/RepositoryNotifications.test.tsx.snap index 92cd56027..7c50de6cf 100644 --- a/src/components/__snapshots__/RepositoryNotifications.test.tsx.snap +++ b/src/components/__snapshots__/RepositoryNotifications.test.tsx.snap @@ -27,11 +27,11 @@ exports[`components/RepositoryNotifications.tsx should render itself & its child >