Skip to content
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