Skip to content

Commit f38a2f4

Browse files
committed
docs: replace enzyme references -> RTL
1 parent 3a915e6 commit f38a2f4

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
# A quick start Redux + TypeScript Create React App template
77

8-
An opinionated quick start [Create React App](https://github.com/facebook/create-react-app) (CRA) _template_ with configured **Redux**, **TypeScript**, **React Router**, **Enzyme** and custom **ESlint** configuration.
8+
An opinionated quick start [Create React App](https://github.com/facebook/create-react-app) (CRA) _template_ with configured **Redux**, **TypeScript**, **React Router**, **React Testing Library** and custom **ESlint** configuration.
99

1010
Original Create React App README available [here](./README_CRA.md)
1111

@@ -53,7 +53,7 @@ The template provides basic Redux configuration with [feature based](https://red
5353

5454
## Testing
5555

56-
Testing is done with [Enzyme](https://airbnb.io/enzyme/).
56+
Testing is done with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/).
5757

5858
## [Prettier](https://prettier.io/)
5959

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
"license": "MIT",
55
"author": "Alexander Grischuk <[email protected]",
66
"engines": {
7-
"node": ">=14.0.0 <19.0.0"
7+
"node": ">=16.0.0 <20.0.0"
88
},
99
"main": "template.json",
10-
"description": "A quick start Create React App template with React Router, Redux, TypeScript, Enzyme and custom ESlint configurations",
10+
"description": "A quick start Create React App template with React Router, Redux, TypeScript, React Testing Library and custom ESlint configurations",
1111
"keywords": [
1212
"react",
1313
"create-react-app",
1414
"cra-template",
1515
"template",
16-
"enzyme",
16+
"react-testing-library",
1717
"eslint",
1818
"redux",
1919
"react-redux",

src/pages/Home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export const Home: React.FC = () => {
77
<h1>Redux + TypeScript</h1>
88
<p>
99
Hello and welcome! :) This app was generated by the Create React App
10-
template and bootstrapped with Redux, React Router, TypeScript, ESlint,
11-
Prettier for you. Take a look around ;)
10+
template and bootstrapped with Redux, React Router, React Testing
11+
Library, TypeScript, ESlint, Prettier for you. Take a look around ;)
1212
</p>
1313
<Counter />
1414
</Fragment>

template/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# A quick start Redux + TypeScript Create React App template
22

3-
An opinionated quick start [Create React App](https://github.com/facebook/create-react-app) (CRA) _template_ with configured **Redux**, **TypeScript**, **React Router**, **Enzyme** and custom **ESlint** configuration.
3+
An opinionated quick start [Create React App](https://github.com/facebook/create-react-app) (CRA) _template_ with configured **Redux**, **TypeScript**, **React Router**, **React Testing Library** and custom **ESlint** configuration.
44

55
Original Create React App README available [here](./README_CRA.md)
66

@@ -48,7 +48,7 @@ The template provides basic Redux configuration with [feature based](https://red
4848

4949
## Testing
5050

51-
Testing is done with [Enzyme](https://airbnb.io/enzyme/).
51+
Testing is done with [React Testing Library](https://testing-library.com/docs/react-testing-library/intro/).
5252

5353
## [Prettier](https://prettier.io/)
5454

template/src/pages/Home.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ export const Home: React.FC = () => {
77
<h1>Redux + TypeScript</h1>
88
<p>
99
Hello and welcome! :) This app was generated by the Create React App
10-
template and bootstrapped with Redux, React Router, TypeScript, ESlint,
11-
Prettier for you. Take a look around ;)
10+
template and bootstrapped with Redux, React Router, React Testing
11+
Library, TypeScript, ESlint, Prettier for you. Take a look around ;)
1212
</p>
1313
<Counter />
1414
</Fragment>

0 commit comments

Comments
 (0)