Please check contribution guidelines.
This project contains a set of tests that can be run to automatically verify the correctness of the IoTA functionalities.
The following requirements must be installed and executed in order to launch the tests:
You can use the
docker-compose-dev.yml file to set up the required services as follows:
docker compose -f docker-compose-dev.yml up -d
To run the tests:
In addition, the project is configured to provide source code coverage statistics reached thanks to the tests.
npm run test:coverage
This command will produce an HTML coverage report under coverage folder.
ESLint is used to check code linting:
npn run lint