Add an exit code to the test suite
authorRichard van Velzen <rvanvelzen1@gmail.com>
Wed, 23 Oct 2013 18:24:58 +0000 (20:24 +0200)
committerRichard van Velzen <rvanvelzen1@gmail.com>
Wed, 23 Oct 2013 18:24:58 +0000 (20:24 +0200)
commit118105db43b0d0b45a96b943f63efd1c06486802
treecaf446386d417d061f99a52b589c802a9987dbfa
parent63d04fff69de5e4c63f1a2476e57555805cbf401
Add an exit code to the test suite

By adding the exit code 1 (or any other non-zero exit code) `npm test`
will know the tests didn't perform correctly. This way it's easier to
know if pull requests are good or bad.
test/run-tests.js