mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-01-12 22:50:10 +08: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:
committed by
Facebook Github Bot
parent
261197d857
commit
ec90ad127f
@@ -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