Skip to content

Unit Tests and Coverage

Akram El Assas edited this page Jan 26, 2025 · 6 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 coveralls or codecov.