Files
self/app/tests/__setup__/notificationServiceMock.js
Justin Hernandez 03635abaaf chore: add kmp license headers; update license year range (#1752)
* add kmp license headers and update year

* formatting
2026-02-15 16:56:06 -08:00

20 lines
646 B
JavaScript

// SPDX-FileCopyrightText: 2025-2026 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());