Skip to content

fix: correct typos #768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/utils/auth.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -109,13 +109,13 @@ describe('utils/auth.tsx', () => {
user: null,
};

it('should add a github.com accont', async () => {
it('should add a github.com account', async () => {
const result = await auth.addAccount(accounts, '123-456', 'github.com');

expect(result).toEqual({ ...accounts, token: '123-456' });
});

it('should add an enterprise accont', async () => {
it('should add an enterprise account', async () => {
const result = await auth.addAccount(
accounts,
'123-456',
Expand Down
2 changes: 1 addition & 1 deletion src/utils/remove-notification.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ describe('utils/remove-notification.ts', () => {
const notificationId = mockedSingleNotification.id;
const hostname = mockedSingleAccountNotifications[0].hostname;

it('should remove a notifiction if it exists', () => {
it('should remove a notification if it exists', () => {
expect(mockedSingleAccountNotifications[0].notifications.length).toBe(1);

const result = removeNotification(
Expand Down