react-native/local-cli/core
Michał Pierzchała 5e997f9d51 use requireActual and requireMock from jest instead of require (#21849)
Summary:
A while back Jest introduced `jest.requireActual` and `jest.requireMock` which are aliases to `require.requireActual` and `require.requireMock`. We believe that users should use official Jest API and are planning to deprecate the latter.
Pull Request resolved: https://github.com/facebook/react-native/pull/21849

Differential Revision: D10448849

Pulled By: TheSavior

fbshipit-source-id: 34fffde97f48c26098c74ee222a56d99071703a6
2018-10-18 15:32:15 -07:00
..
__fixtures__ use requireActual and requireMock from jest instead of require (#21849) 2018-10-18 15:32:15 -07:00
__tests__ react-native: make automated fs-based tests platform-independent 2018-09-17 05:46:47 -07:00
android Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
ios Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
Constants.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
findAssets.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
findPlugins.js Give RNPM the ability to look for plugins in `@scoped` modules (#21082) 2018-09-13 04:31:38 -07:00
index.js Remove unused suppressions in xplat/js 2018-09-27 11:47:04 -07:00
makeCommand.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00
wrapCommands.js Update copyright headers to yearless format 2018-09-11 15:33:07 -07:00