This section deals with testing RN applications developed with Redux. We will be developing a simple TODO application capable of adding and removing an item. Once included, the timestamp is included.
An example of setting up can be found here.
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/TodoList.js. Thus we will create
To run the tests, place a test script inside your package.json
And run the test script with npm test or yarn test.