Code coverage
Another popular method for testing your code is Code Coverage.
You can use mocha and istanbul to check your code and prepare various coverage reports (HTML, Cobertura) which can be used in continuous integration services such as Jenkins.
To test your code and prepare a simple HTML report run the following commands:
istanbul cover -x "**/config/**" _mocha -- --timeout 5000
istanbul report html