Build distribution for suite failed status changes

This commit is contained in:
slackersoft
2014-09-26 18:35:06 -07:00
parent eefa716530
commit a58fd20d82
2 changed files with 50 additions and 19 deletions

View File

@@ -84,7 +84,7 @@ jasmineRequire.HtmlReporter = function(j$) {
};
this.suiteDone = function(result) {
if (result.failedExpectations && result.failedExpectations.length > 0) {
if (result.status == 'failed') {
failedSuites.push(result);
}