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

15 lines
293 B
JavaScript

/* global jest: true */
const firebase = {
messaging: jest.fn(() => ({
hasPermission: jest.fn(() => new Promise(resolve => resolve(true))),
})),
analytics: jest.fn(() => ({
logEvent: jest.fn(),
setUserId: jest.fn(),
setUserProperties: jest.fn(),
})),
};
export default firebase;