Skip to content

Commit

Permalink
Mock react-native-push-notification
Browse files Browse the repository at this point in the history
  • Loading branch information
Ferossgp committed Jul 21, 2020
1 parent 54b8ded commit fe0b9ef
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mocks/js_dependencies.cljs
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,9 @@
(def react-native-device-info
#js {:getInstallReferrer identity})

(def react-native-push-notification
#js {:localNotification identity})

;; Update i18n_resources.cljs
(defn mock [module]
(case module
Expand Down Expand Up @@ -213,6 +216,7 @@
"react-native-image-resizer" image-resizer
"react-native-haptic-feedback" react-native-haptic-feedback
"react-native-device-info" react-native-device-info
"react-native-push-notification" react-native-push-notification
"./fleets.js" default-fleets
"./chats.js" default-chats
"../translations/ar.json" (js/JSON.parse (slurp "./translations/ar.json"))
Expand Down

0 comments on commit fe0b9ef

Please sign in to comment.