Skip to content

Commit fc0b512

Browse files
committed
docs: remove create-react-app reference for greenfield React app testing
Signed-off-by: hainenber <[email protected]>
1 parent 580d4b7 commit fc0b512

File tree

3 files changed

+3
-22
lines changed

3 files changed

+3
-22
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
### Chore & Maintenance
1515

1616
- `[docs]` Update V30 migration guide to notify users on `jest.mock()` work with case-sensitive path ([#15849](https://github.com/jestjs/jest/pull/15849))
17+
- `[docs]` Remove `create-react-app` reference for greenfield React app testing ([#15883](https://github.com/jestjs/jest/pull/15883))
1718
- `[deps]` Update to sinon/fake-timers v15
1819

1920
## 30.2.0

website/versioned_docs/version-29.7/TutorialReact.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@ At Facebook, we use Jest to test [React](https://reactjs.org/) applications.
77

88
## Setup
99

10-
### Setup with Create React App
11-
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-
14-
Run
15-
16-
```bash npm2yarn
17-
npm install --save-dev react-test-renderer
18-
```
19-
20-
### Setup without Create React App
10+
### Setup for React app
2111

2212
If you have an existing application you'll need to install a few packages to make everything work well together. We are using the `babel-jest` package and the `react` babel preset to transform our code inside of the test environment. Also see [using babel](GettingStarted.md#using-babel).
2313

website/versioned_docs/version-30.0/TutorialReact.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,7 @@ At Facebook, we use Jest to test [React](https://reactjs.org/) applications.
77

88
## Setup
99

10-
### Setup with Create React App
11-
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-
14-
Run
15-
16-
```bash npm2yarn
17-
npm install --save-dev react-test-renderer
18-
```
19-
20-
### Setup without Create React App
10+
### Setup for React app
2111

2212
If you have an existing application you'll need to install a few packages to make everything work well together. We are using the `babel-jest` package and the `react` babel preset to transform our code inside of the test environment. Also see [using babel](GettingStarted.md#using-babel).
2313

0 commit comments

Comments
 (0)