Skip to content

An example of automated tests in JavaScript using Jest, Travis-CI and NPM scripts

License

Notifications You must be signed in to change notification settings

edysegura/js-automated-tests

Repository files navigation

JavaScript Automated Tests Coverage Status Codacy Badge

An example of automated tests in JavaScript using Jest, Travis-CI and NPM scripts.

Instructions

In order to run the automated tests please follow the commands below:

  • npm ci
  • npm test

Test coverage

In order to check the test code coverage check the folder build/test/coverage after ran the command below:

  • npm test

How to run the application

  • npm start

TDD

To practice Test Driven Development run the command:

  • npm run tdd

Feedback

Any kind of feedback will be more than welcome, please open an issue for that.

References