Unit Tests and Coverage - XiSZ/bookcars GitHub Wiki
Below are the instructions to run unit tests and build coverage report.
Unit Tests
- Follow the steps regarding the API in Run from Source documentation
- To run the unit tests, run the following commands:
cd ./api
npm install
npm test
Coverage
Once you run unit tests, a coverage report is automatically built in:
./api/coverage
You can also view the coverage report on coveralls or codecov.