/unit-tests-jest

Example to unit tests using Jest

Primary LanguageJavaScriptMIT LicenseMIT

JEST Unit Tests

GitHub Actions

Build and Tests

SonarCloud

Quality Gate Status

Getting Started

In order to execute this project you must follow the steps below:

  1. Install Node JS (version >= 20.x)
  2. Run npm install to install all the project dependencies
  3. Run npm run test to execute the entire test suite
  4. Run npm run coverage to execute the entire test suite with coverage

All execution artifacts can be found in ./coverage, if you want to remove these files run npm run clean.

Project Structure


  • src: source code
  • test: unit test files