From 0d321607d1e120bce54ebf07c175f80a6bf0dc37 Mon Sep 17 00:00:00 2001 From: rvasseur31 <46020438+rvasseur31@users.noreply.github.com> Date: Tue, 10 May 2022 10:57:07 +0200 Subject: [PATCH] Update ReduxIntegration.md We will test 'AddTodo' and not 'TodoElem' Add '.test' to the second file as well as for 'AddTodo.test.js' --- website/docs/ReduxIntegration.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/website/docs/ReduxIntegration.md b/website/docs/ReduxIntegration.md index 0a6b252af..704f35f52 100644 --- a/website/docs/ReduxIntegration.md +++ b/website/docs/ReduxIntegration.md @@ -11,7 +11,7 @@ An example of setting up can be found [here](https://github.com/callstack/react- ## Test cases -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` +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` For `./components/AddTodo.test.js` @@ -60,7 +60,7 @@ describe('AddTodo component test', () => { }); ``` -For the `./components/TodoList.js` +For `./components/TodoList.test.js` ```jsx import * as React from 'react';