Skip to content

ansarkmemon/testing-react-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TODO App

Todo App built using React hooks and unit tested using Jest and react-testing-library. This project was bootstrapped with Create React App.

todo-app

To setup this project locally --

  1. clone this repo.
  2. Run npm i to install all the dependencies

To spin up the local server and use the app locally -- npm start

To run the tests -- npm t

  • To check the test coverage report, npm t -- --coverage.
  • To view the coverage report in the browser, after running the above command, just type open coverage/lcov-report/index.html

Important --

  • From the branch dropdown, select tests-completed branch to see the __tests__ folder inside components directory.

Releases

No releases published

Packages

No packages published