Skip to content

Instantly share code, notes, and snippets.

View maml's full-sized avatar
💭
build

Matthew Loseke maml

💭
build
  • Laurentide Ice Sheet
View GitHub Profile
@maml
maml / jest.mock.rn-firebase.js
Created November 1, 2018 21:26
react-native-firebase jest mock
jest.mock('react-native-firebase', () => {
return {
admob: jest.fn(() => {
return {
onNotification: jest.fn(),
onNotificationDisplayed: jest.fn()
}
}),
analytics: jest.fn(() => {
return {