Browse Source

Fix shallow renderer link on test utils page

main
Romain Linsolas 6 years ago
committed by GitHub
parent
commit
e3f43f5bdd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      content/docs/addons-test-utils.md

2
content/docs/addons-test-utils.md

@ -139,7 +139,7 @@ Pass a mocked component module to this method to augment it with useful methods
> Note: > 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.
* * * * * *

Loading…
Cancel
Save