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