Skip to content

Commit 16bb83c

Browse files
authored
Update ReduxIntegration.md (#976)
We will test 'AddTodo' and not 'TodoElem' Add '.test' to the second file as well as for 'AddTodo.test.js'
1 parent 64ff2d2 commit 16bb83c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

website/docs/ReduxIntegration.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ An example of setting up can be found [here](https://github.com/callstack/react-
1111

1212
## Test cases
1313

14-
Our test is on the components that either dispatch actions on the redux store or read some data from the redux store. This means we will test `./components/TodoElem.js` and `./components/TodoList.js`. Thus we will create `./components/AddTodo.test.js` and `./components/TodoList.test.js`
14+
Our test is on the components that either dispatch actions on the redux store or read some data from the redux store. This means we will test `./components/AddTodo.js` and `./components/TodoList.js`. Thus we will create `./components/AddTodo.test.js` and `./components/TodoList.test.js`
1515

1616
For `./components/AddTodo.test.js`
1717

@@ -60,7 +60,7 @@ describe('AddTodo component test', () => {
6060
});
6161
```
6262

63-
For the `./components/TodoList.js`
63+
For `./components/TodoList.test.js`
6464

6565
```jsx
6666
import * as React from 'react';

0 commit comments

Comments
 (0)