mirror of https://github.com/vitalif/phantomjs
commit
ddd7774f87
|
@ -73,7 +73,7 @@ jasmineEnv.addReporter(new jasmine.ConsoleReporter(function(msg){
|
|||
console.log(msg.replace('\n', ''));
|
||||
}, function(reporter){
|
||||
// On complete
|
||||
phantom.exit();
|
||||
phantom.exit(reporter.results().failedCount);
|
||||
}, true));
|
||||
|
||||
// Launch tests
|
||||
|
|
Loading…
Reference in New Issue