mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix React Native tests
Summary: At Facebook we do not install the cli or the packages around it. I added some workaround for that in D15044762 but failed to run Jest without cache to test it and it seems like it didn't run on sandcastle properly either (wtf?). Either way, this adds back the `ios` and `android` reducers for `hasteImpl` to run the tests properly again. Reviewed By: rubennorte Differential Revision: D15063152 fbshipit-source-id: 2f1fefe664f02d5f2f5e65b75ac1e0c5b813a343
This commit is contained in:
1 parent
261197d857
commit
ec90ad127f
1 file changed
+1
-1
+1
-1
@@ -17,7 +17,7 @@ const cli = require('@react-native-community/cli');
|
||||
const {haste} = (cli.loadConfig && cli.loadConfig()) || {
|
||||
haste: {
|
||||
providesModuleNodeModules: [],
|
||||
platforms: [],
|
||||
platforms: ['ios', 'android'],
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user