completion
This commit is contained in:
13
ioneapps-maagapp-ee31119a522d/__mocks__/react-native-push-notification.js
vendored
Normal file
13
ioneapps-maagapp-ee31119a522d/__mocks__/react-native-push-notification.js
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
/* 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;
|
||||
Reference in New Issue
Block a user