Unit Testing/Jest/View Test Coverage
< Unit Testing | Jest
View test coverage.
- Run the following command and observe the results:
npm test -- --coverage
- Add tests and then repeat the command above to achieve 100% coverage.
View test coverage.
npm test -- --coverage