An example of automated tests in JavaScript using Jest, Travis-CI and NPM scripts.
In order to run the automated tests please follow the commands below:
npm ci
npm test
In order to check the test code coverage check the folder build/test/coverage after ran the command below:
npm test
npm start
To practice Test Driven Development run the command:
npm run tdd
Any kind of feedback will be more than welcome, please open an issue for that.