totaljs/framework — pull request #164 by toshipon (2014-06-08 05:26:47+00:00)
Title: Put exit(1) when a process of test has tests failed

Hi, teams.

I really appreciate about that @petersirka fixed a global helper issue what I requested. https://github.com/totaljs/framework/commit/9d687ac0fdc84e792237b4e7d3cab8cd99c41d7c
thanks petersirka!

btw, I'm using travis-ci to run tests for an application built based on total.js.
currently I get exit(0) process if a test is failed. so I modified to put exit(1) code if tests are failed.
I just added ```1``` value into parameter of ```stop(1)```.

```
The command "node server/test.js" exited with 1.
```