docs: update links @testing-library/react-native (#6916)

This commit is contained in:
Germano Lira
2024-05-29 08:42:10 -03:00
committed by GitHub
parent 12fca4c24f
commit ad1a5c20c1

View File

@@ -6,7 +6,7 @@ title: react-test-renderer Deprecation Warnings
react-test-renderer is deprecated. A warning will fire whenever calling ReactTestRenderer.create() or ReactShallowRender.render(). The react-test-renderer package will remain available on NPM but will not be maintained and may break with new React features or changes to React's internals.
The React Team recommends migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/getting-started) for a modern and well supported testing experience.
The React Team recommends migrating your tests to [@testing-library/react](https://testing-library.com/docs/react-testing-library/intro/) or [@testing-library/react-native](https://callstack.github.io/react-native-testing-library/docs/start/intro) for a modern and well supported testing experience.
## new ShallowRenderer() warning {/*new-shallowrenderer-warning*/}