From c96fc296d40fb75d3cef3c8fa138c5a04e0870b7 Mon Sep 17 00:00:00 2001 From: Prithpal Sooriya Date: Thu, 30 Jan 2025 13:51:53 +0000 Subject: [PATCH] test: remove unused test --- .../services/services.test.ts | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/packages/notification-services-controller/src/NotificationServicesPushController/services/services.test.ts b/packages/notification-services-controller/src/NotificationServicesPushController/services/services.test.ts index ff689a133ca..3065932d42f 100644 --- a/packages/notification-services-controller/src/NotificationServicesPushController/services/services.test.ts +++ b/packages/notification-services-controller/src/NotificationServicesPushController/services/services.test.ts @@ -111,18 +111,6 @@ describe('NotificationServicesPushController Services', () => { expect(result).toBe(MOCK_NEW_REG_TOKEN); }); - it('should successfully call APIs and add provided mobile fcmToken', async () => { - const { mobileParams, apis } = arrangeMocks(); - mockErrorLog(); - const result = await activatePushNotifications(mobileParams); - - expect(apis.mockGet.isDone()).toBe(true); - expect(mobileParams.createRegToken).not.toHaveBeenCalled(); - expect(apis.mockPut.isDone()).toBe(true); - - expect(result).toBe(MOCK_MOBILE_FCM_TOKEN); - }); - it('should return null if unable to get links from API', async () => { const { params, apis } = arrangeMocks({ mockGet: { status: 500 } }); mockErrorLog();