Skip to content

Unit Tests and Coverage

Akram El Assas edited this page Nov 2, 2024 · 5 revisions

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 codecov.