Skip to content

Commit 293ffca

Browse files
authored
Merge pull request #2 from facebook/master
docs: Updated links (jestjs#9639)
2 parents 6e8b3b9 + 1932269 commit 293ffca

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

docs/TutorialReact.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ id: tutorial-react
33
title: Testing React Apps
44
---
55

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.
77

88
## Setup
99

1010
### Setup with Create React App
1111

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.
1313

1414
Run
1515

@@ -208,7 +208,7 @@ React 16 triggers these warnings due to how it checks element types, and the moc
208208
209209
### DOM Testing
210210
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.
212212

213213
#### react-testing-library
214214

@@ -227,7 +227,7 @@ export default class CheckboxWithLabel extends React.Component {
227227
this.state = {isChecked: false};
228228
229229
// bind manually because React class components don't auto-bind
230-
// http://facebook.github.io/react/blog/2015/01/27/react-v0.13.0-beta-1.html#autobinding
230+
// https://reactjs.org/blog/2015/01/27/react-v0.13.0-beta-1.html#autobinding
231231
this.onChange = this.onChange.bind(this);
232232
}
233233

docs/TutorialReactNative.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ id: tutorial-react-native
33
title: Testing React Native Apps
44
---
55

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.
77

88
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/).
99

0 commit comments

Comments
 (0)