react-native-macos/jest
Rick Hanlon 4b935ae95f Correctly mock all components by setting the displayName
Summary:
In the next react sync we removed the `displayName` from forwardRef and useMemo components ([PR here](https://github.com/facebook/react/pull/18495 )).

This means we need to manually add the displayName in the mock.

Changelog: [General] [Fixed] Fix test renderer mocks to use the displayName more often.

Reviewed By: TheSavior

Differential Revision: D22775470

fbshipit-source-id: 1390dc325e34f7ccea32bbdf1c6a8f6efea3a080
2020-07-28 13:09:06 -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
mockComponent.js Correctly mock all components by setting the displayName 2020-07-28 13:09:06 -07:00
mockScrollView.js Make ScrollView use ForwardRef 2020-03-26 16:53:46 -07:00
preprocessor.js Use globalPrefix for babelHelpers 2020-07-23 12:03:36 -07:00
renderer.js Switch to react-shallow-renderer 2020-07-10 14:06:38 -07:00
setup.js Create `@react-native/polyfills` package. 2020-07-22 03:02:45 -07:00