react-native-macos/jest
James Ide 59749f527a Migrate Jest setup scripts from Haste to path-based requires (#24753)
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
2019-05-08 06:59:47 -07:00
..
__tests__ Remove out-of-tree platform tests (#24536) 2019-04-24 07:56:30 -07:00
MockNativeMethods.js change jest native method mocks to jest functions (#24337) 2019-04-07 11:54:48 -07:00
assetFileTransformer.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
hasteImpl.js Fix HasteImpl Regex (#24628) 2019-05-06 15:56:15 -07:00
mockComponent.js use requireActual and requireMock from jest instead of require (#21849) 2018-10-18 15:32:15 -07:00
preprocessor.js Deploy 0.94 to xplat 2019-03-06 14:57:30 -08:00
renderer.js Migrate Jest setup scripts from Haste to path-based requires (#24753) 2019-05-08 06:59:47 -07:00
setup.js Migrate Jest setup scripts from Haste to path-based requires (#24753) 2019-05-08 06:59:47 -07:00