Fixed SPEC HAS NO EXPECTATIONS warning in HTML reporter

[Finishes #153891435]
This commit is contained in:
Steve Gravrock
2017-12-23 11:14:37 -08:00
parent b439e2fb37
commit b943f6b736
3 changed files with 6 additions and 4 deletions

View File

@@ -25,10 +25,11 @@ jasmineRequire.HtmlReporter = function(j$) {
};
ResultsStateBuilder.prototype.specStarted = function(result) {
this.currentParent.addChild(result, 'spec');
};
ResultsStateBuilder.prototype.specDone = function(result) {
this.currentParent.addChild(result, 'spec');
if (result.status !== 'disabled') {
this.specsExecuted++;
}