From 15685e311bf31548601baa4d60051fca5d935f4b Mon Sep 17 00:00:00 2001 From: Adam Setch Date: Mon, 27 May 2024 17:35:54 -0400 Subject: [PATCH] test: add missing mock --- src/hooks/useNotifications.test.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/hooks/useNotifications.test.ts b/src/hooks/useNotifications.test.ts index 30539cd45..9d1074875 100644 --- a/src/hooks/useNotifications.test.ts +++ b/src/hooks/useNotifications.test.ts @@ -380,6 +380,9 @@ describe('hooks/useNotifications.ts', () => { merged: false, user: mockedNotificationUser, }); + nock('https://api.github.com') + .get('/repos/gitify-app/notifications-test/pulls/4/reviews') + .reply(200, {}); nock('https://api.github.com') .get('/repos/gitify-app/notifications-test/issues/4/comments') .reply(200, {