Suite result status added when suite is complete

- This makes it easier to detect afterAll failures, because we can
  rely only complete runnables having statuses

[#78306786 & #73741654]
This commit is contained in:
Greg Cobb
2014-09-09 11:10:30 -07:00
committed by Greg Cobb
parent 3332f93a24
commit 1290d93b6a
4 changed files with 121 additions and 91 deletions

View File

@@ -260,7 +260,7 @@ describe("Suite", function() {
expect(suiteResultsCallback).toHaveBeenCalledWith({
id: suite.id,
status: '',
status: 'finished',
description: "with a child suite",
fullName: "with a child suite",
failedExpectations: []