Skip to content

Commit

Permalink
refactor: mark repository sentence case
Browse files Browse the repository at this point in the history
Signed-off-by: Adam Setch <[email protected]>
  • Loading branch information
setchy committed Sep 27, 2024
1 parent c85b23c commit a0aa87c
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 32 deletions.
4 changes: 2 additions & 2 deletions src/components/RepositoryNotifications.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ describe('components/RepositoryNotifications.tsx', () => {
</AppContext.Provider>,
);

fireEvent.click(screen.getByTitle('Mark Repository as Read'));
fireEvent.click(screen.getByTitle('Mark repository as read'));

expect(markRepoNotificationsRead).toHaveBeenCalledWith(
mockSingleNotification,
Expand All @@ -80,7 +80,7 @@ describe('components/RepositoryNotifications.tsx', () => {
</AppContext.Provider>,
);

fireEvent.click(screen.getByTitle('Mark Repository as Done'));
fireEvent.click(screen.getByTitle('Mark repository as done'));

expect(markRepoNotificationsDone).toHaveBeenCalledWith(
mockSingleNotification,
Expand Down
4 changes: 2 additions & 2 deletions src/components/RepositoryNotifications.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export const RepositoryNotifications: FC<IRepositoryNotifications> = ({
<HoverGroup>
{isMarkAsDoneFeatureSupported(repoNotifications[0].account) && (
<InteractionButton
title="Mark Repository as Done"
title="Mark repository as done"
icon={CheckIcon}
size={Size.MEDIUM}
onClick={(event: MouseEvent<HTMLElement>) => {
Expand All @@ -96,7 +96,7 @@ export const RepositoryNotifications: FC<IRepositoryNotifications> = ({
/>
)}
<InteractionButton
title="Mark Repository as Read"
title="Mark repository as read"
icon={ReadIcon}
size={Size.SMALL}
onClick={(event: MouseEvent<HTMLElement>) => {
Expand Down
56 changes: 28 additions & 28 deletions src/components/__snapshots__/RepositoryNotifications.test.tsx.snap

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit a0aa87c

Please sign in to comment.