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:
Christoph Nakazawa
2019-04-24 06:47:16 -07:00
committed by Facebook Github Bot
parent 261197d857
commit ec90ad127f

View File

@@ -17,7 +17,7 @@ const cli = require('@react-native-community/cli');
const {haste} = (cli.loadConfig && cli.loadConfig()) || {
haste: {
providesModuleNodeModules: [],
platforms: [],
platforms: ['ios', 'android'],
},
};