Files
self/app/tests/__setup__/notificationServiceMock.js
Justin Hernandez 431f556542 chore: centralize license header checks (#952)
* chore: centralize license header scripts

* chore: run license header checks from root

* add header to other files

* add header to bundle

* add migration script and update check license headers

* convert license to mobile sdk

* migrate license headers

* remove headers from common; convert remaining

* fix headers

* add license header checks
2025-08-25 11:30:23 -07:00

20 lines
641 B
JavaScript

// SPDX-FileCopyrightText: 2025 Social Connect Labs, Inc.
// SPDX-License-Identifier: BUSL-1.1
// NOTE: Converts to Apache-2.0 on 2029-06-11 per LICENSE.
export const RemoteMessage = {};
export const getFCMToken = jest.fn().mockResolvedValue('mock-fcm-token');
/* global jest */
// Mock for notificationService.ts
export const getStateMessage = jest.fn().mockImplementation(() => {
return 'Mock state message';
});
export const registerDeviceToken = jest.fn().mockResolvedValue();
export const requestNotificationPermission = jest.fn().mockResolvedValue(true);
export const setupNotifications = jest.fn().mockReturnValue(jest.fn());