Skip to content

Commit c96fc29

Browse files
test: remove unused test
1 parent b1f8f9d commit c96fc29

File tree

1 file changed

+0
-12
lines changed
  • packages/notification-services-controller/src/NotificationServicesPushController/services

1 file changed

+0
-12
lines changed

packages/notification-services-controller/src/NotificationServicesPushController/services/services.test.ts

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -111,18 +111,6 @@ describe('NotificationServicesPushController Services', () => {
111111
expect(result).toBe(MOCK_NEW_REG_TOKEN);
112112
});
113113

114-
it('should successfully call APIs and add provided mobile fcmToken', async () => {
115-
const { mobileParams, apis } = arrangeMocks();
116-
mockErrorLog();
117-
const result = await activatePushNotifications(mobileParams);
118-
119-
expect(apis.mockGet.isDone()).toBe(true);
120-
expect(mobileParams.createRegToken).not.toHaveBeenCalled();
121-
expect(apis.mockPut.isDone()).toBe(true);
122-
123-
expect(result).toBe(MOCK_MOBILE_FCM_TOKEN);
124-
});
125-
126114
it('should return null if unable to get links from API', async () => {
127115
const { params, apis } = arrangeMocks({ mockGet: { status: 500 } });
128116
mockErrorLog();

0 commit comments

Comments
 (0)