Simple React-Redux-Saga App developed for the tutorial article
To run the tests for this project, follow these steps:
-
Ensure you have all dependencies installed by running:
npm install
-
Run the tests using the following command:
npm test
To add new tests to the project:
-
Create a new file with the
.test.js
extension in thesrc/__tests__
directory. For example:src/__tests__/myComponent.test.js
-
Write your tests using Jest syntax.
-
Run the tests as described above to ensure they pass.
git clone https://github.com/Lavitr/React-Redux-SAGA-tutorial-APP.git
cd React-Redux-SAGA-tutorial-APP
npm install
npm start
open http://localhost:8080 (should start automatically )
npm start - start the dev server
npm run dev - create a developer build in `dist` folder
npm run build - create a production ready build in `dist` folder