mirror of
https://github.com/reactjs/react.dev.git
synced 2026-02-24 12:43:05 +00:00
Fix shallow renderer link on test utils page
This commit is contained in:
@@ -139,7 +139,7 @@ Pass a mocked component module to this method to augment it with useful methods
|
||||
|
||||
> Note:
|
||||
>
|
||||
> `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.
|
||||
> `mockComponent()` is a legacy API. We recommend using [shallow rendering](/docs/shallow-renderer.html) or [`jest.mock()`](https://facebook.github.io/jest/docs/en/tutorial-react-native.html#mock-native-modules-using-jestmock) instead.
|
||||
|
||||
* * *
|
||||
|
||||
|
||||
Reference in New Issue
Block a user