keeping track of passed expectations

This commit is contained in:
Alex Treppass
2014-04-14 14:23:50 +01:00
committed by Sheel Choksi
parent e1e49e8292
commit 5f34be446c
4 changed files with 35 additions and 9 deletions

View File

@@ -165,7 +165,8 @@ describe("New HtmlReporter", function() {
reporter.specDone({
id: 345,
status: "failed",
failedExpectations: []
failedExpectations: [],
passedExpectations: []
});
var specEl = container.querySelector(".symbol-summary li");
@@ -289,7 +290,8 @@ describe("New HtmlReporter", function() {
description: "with a failing spec",
fullName: "A Suite inner with a failing spec",
status: "failed",
failedExpectations: []
failedExpectations: [],
passedExpectations: []
};
reporter.specStarted(specResult);
reporter.specDone(specResult);