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