Skip to content

Commit

Permalink
✅ - Fix failing tests by mocking setUserProperty (#333)
Browse files Browse the repository at this point in the history
  • Loading branch information
guytepper authored Oct 7, 2023
1 parent 00b0253 commit 5b1c61b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/mock-firebase.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
jest.mock("@react-native-firebase/analytics", () => {
return () => ({ logEvent: () => {}, logScreenView: () => {}, setUserProperties: () => {} })
return () => ({ logEvent: () => {}, logScreenView: () => {}, setUserProperties: () => {}, setUserProperty: () => {} })
})

0 comments on commit 5b1c61b

Please sign in to comment.