|
|
> `mockComponent()` is a legacy method that is no longer needed. A similar pattern can be implemented directly. |
|
|
> `mockComponent()` is a legacy API. We recommend using [shallow rendering](/docs/test-utils.html#shallow-rendering) or [jest.mock()](https://facebook.github.io/jest/docs/en/tutorial-react-native.html#mock-native-modules-using-jestmock) instead. |