Browse Source

fix tests

Guy Carmeli 6 years ago
parent
commit
22542842f5
1 changed files with 3 additions and 2 deletions
  1. 3
    2
      src/platformSpecific.android.js

+ 3
- 2
src/platformSpecific.android.js View File

@@ -79,6 +79,7 @@ function dismissInAppNotification(params) {
79 79
   NativeReactModule.hideSlidingOverlay(params);
80 80
 }
81 81
 
82
+// eslint-disable-next-line max-statements
82 83
 function savePassProps(params) {
83 84
   if (params.navigationParams && params.passProps) {
84 85
     PropRegistry.save(params.navigationParams.screenInstanceID, params.passProps);
@@ -89,7 +90,7 @@ function savePassProps(params) {
89 90
   }
90 91
 
91 92
   if (_.get(params, 'screen.screens')) {
92
-    _.forEach(params.screen.screens, savePassProps)
93
+    _.forEach(params.screen.screens, savePassProps);
93 94
   }
94 95
 
95 96
   if (_.get(params, 'screen.topTabs')) {
@@ -108,7 +109,7 @@ function savePassProps(params) {
108 109
       savePassProps(tab);
109 110
       
110 111
       if (tab.screens) {
111
-        _.forEach(tab.screens, savePassProps)
112
+        _.forEach(tab.screens, savePassProps);
112 113
       }
113 114
     });
114 115
   }