Files
Maagap/ioneapps-maagapp-ee31119a522d/__mocks__/react-native-push-notification.js
2025-08-06 13:49:11 +08:00

14 lines
483 B
JavaScript

/* global jest: true */
const PushNotification = jest.genMockFromModule('react-native-push-notification');
PushNotification.configure = jest.fn();
PushNotification.onRegister = jest.fn();
PushNotification.onNotification = jest.fn();
PushNotification.addEventListener = jest.fn();
PushNotification.requestPermissions = jest.fn();
PushNotification.cancelAllLocalNotifications = jest.fn();
PushNotification.setApplicationIconBadgeNumber = jest.fn();
export default PushNotification;