You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/TutorialReact.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,13 +3,13 @@ id: tutorial-react
3
3
title: Testing React Apps
4
4
---
5
5
6
-
At Facebook, we use Jest to test [React](http://facebook.github.io/react/) applications.
6
+
At Facebook, we use Jest to test [React](https://reactjs.org/) applications.
7
7
8
8
## Setup
9
9
10
10
### Setup with Create React App
11
11
12
-
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.
12
+
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.
13
13
14
14
Run
15
15
@@ -208,7 +208,7 @@ React 16 triggers these warnings due to how it checks element types, and the moc
208
208
209
209
### DOM Testing
210
210
211
-
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.
211
+
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.
Copy file name to clipboardExpand all lines: docs/TutorialReactNative.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -3,7 +3,7 @@ id: tutorial-react-native
3
3
title: Testing React Native Apps
4
4
---
5
5
6
-
At Facebook, we use Jest to test [React Native](http://facebook.github.io/react-native/) applications.
6
+
At Facebook, we use Jest to test [React Native](https://reactnative.dev/) applications.
7
7
8
8
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/).
0 commit comments