From 692b4bad924d927a882d4ac6c64b694e05573ce2 Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Thu, 15 Feb 2024 13:07:42 -0500 Subject: [PATCH] fix: correct typos --- src/utils/auth.test.ts | 4 ++-- src/utils/remove-notification.test.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/auth.test.ts b/src/utils/auth.test.ts index 95d558881..eafc2cc54 100644 --- a/src/utils/auth.test.ts +++ b/src/utils/auth.test.ts @@ -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', diff --git a/src/utils/remove-notification.test.ts b/src/utils/remove-notification.test.ts index ed4ce9d91..dfbf8a8a9 100644 --- a/src/utils/remove-notification.test.ts +++ b/src/utils/remove-notification.test.ts @@ -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(