59749f527a
Summary: This is another step in moving RN towards standard path-based requires. All the requires in Jest's setup script have been rewritten to use relative requires. This commit uses relative requires instead of `react-native/...` so that if Facebook were to stop syncing out certain folders and therefore remove code from the react-native package, internal code at Facebook would not need to change. [General] [Changed] - Migrate Jest setup scripts from Haste to path-based requires Pull Request resolved: https://github.com/facebook/react-native/pull/24753 Differential Revision: D15258238 Pulled By: cpojer fbshipit-source-id: aa05dc8ea2e4ba195226e8ec7ba6482b7de03240 |
||
---|---|---|
.. | ||
__tests__ | ||
MockNativeMethods.js | ||
assetFileTransformer.js | ||
hasteImpl.js | ||
mockComponent.js | ||
preprocessor.js | ||
renderer.js | ||
setup.js |