fixed Tester.renderResults() was returning exit(0) event on failure by default
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -461,7 +461,7 @@ var Tester = function(casper, options) { | ... | @@ -461,7 +461,7 @@ var Tester = function(casper, options) { |
461 | } | 461 | } |
462 | } | 462 | } |
463 | if (exit === true) { | 463 | if (exit === true) { |
464 | casper.exit(status || 0); | 464 | casper.exit(status || (this.testResults.failed > 0 ? 1 : 0)); |
465 | } | 465 | } |
466 | }; | 466 | }; |
467 | 467 | ... | ... |
-
Please register or sign in to post a comment