From 1932269c5544d2f6f159857f96b953e8d4c42203 Mon Sep 17 00:00:00 2001 From: Vishal Jagtap Date: Fri, 6 Mar 2020 14:00:00 +0530 Subject: [PATCH] docs: Updated links (#9639) * Updated links for React * Updated React Native Home URL --- docs/TutorialReact.md | 8 ++++---- docs/TutorialReactNative.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/TutorialReact.md b/docs/TutorialReact.md index 511f4c544b53..1b9fcda67e71 100644 --- a/docs/TutorialReact.md +++ b/docs/TutorialReact.md @@ -3,13 +3,13 @@ id: tutorial-react title: Testing React Apps --- -At Facebook, we use Jest to test [React](http://facebook.github.io/react/) applications. +At Facebook, we use Jest to test [React](https://reactjs.org/) applications. ## Setup ### Setup with Create React App -If you are new to React, we recommend using [Create React App](https://github.com/facebookincubator/create-react-app). It is ready to use and [ships with Jest](https://facebook.github.io/create-react-app/docs/running-tests#docsNav)! You will only need to add `react-test-renderer` for rendering snapshots. +If you are new to React, we recommend using [Create React App](https://create-react-app.dev/). It is ready to use and [ships with Jest](https://create-react-app.dev/docs/running-tests/#docsNav)! You will only need to add `react-test-renderer` for rendering snapshots. Run @@ -208,7 +208,7 @@ React 16 triggers these warnings due to how it checks element types, and the moc ### DOM Testing -If you'd like to assert, and manipulate your rendered components you can use [react-testing-library](https://github.com/kentcdodds/react-testing-library), [Enzyme](http://airbnb.io/enzyme/), or React's [TestUtils](http://facebook.github.io/react/docs/test-utils.html). The following two examples use react-testing-library and Enzyme. +If you'd like to assert, and manipulate your rendered components you can use [react-testing-library](https://github.com/kentcdodds/react-testing-library), [Enzyme](http://airbnb.io/enzyme/), or React's [TestUtils](https://reactjs.org/docs/test-utils.html). The following two examples use react-testing-library and Enzyme. #### react-testing-library @@ -227,7 +227,7 @@ export default class CheckboxWithLabel extends React.Component { this.state = {isChecked: false}; // bind manually because React class components don't auto-bind - // http://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html#autobinding + // https://reactjs.org/blog/2015/01/27/react-v0.13.0-beta-1.html#autobinding this.onChange = this.onChange.bind(this); } diff --git a/docs/TutorialReactNative.md b/docs/TutorialReactNative.md index 620f8021dae3..4ccb081f709a 100644 --- a/docs/TutorialReactNative.md +++ b/docs/TutorialReactNative.md @@ -3,7 +3,7 @@ id: tutorial-react-native title: Testing React Native Apps --- -At Facebook, we use Jest to test [React Native](http://facebook.github.io/react-native/) applications. +At Facebook, we use Jest to test [React Native](https://reactnative.dev/) applications. Get a deeper insight into testing a working React Native app example by reading the following series: [Part 1: Jest – Snapshot come into play](https://callstack.com/blog/testing-react-native-with-the-new-jest-part-1-snapshots-come-into-play/) and [Part 2: Jest – Redux Snapshots for your Actions and Reducers](https://callstack.com/blog/testing-react-native-with-the-new-jest-part-2-redux-snapshots-for-your-actions-and-reducers/).