Skip to content

Commit

Permalink
changing summary message and the passing state of the assertions (won…
Browse files Browse the repository at this point in the history
…'t fail test though)
  • Loading branch information
bennyhat committed Jul 23, 2015
1 parent f52eb8f commit f404d06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ function ProtractorIstanbulPlugin() {
instance.teardownOutput = {
failedCount: 0,
specResults: [{
description: 'Coverage gathering errors and/or warnings',
description: 'Coverage gathering',
assertions: [],
duration: 0
}]
Expand Down Expand Up @@ -122,7 +122,7 @@ function ProtractorIstanbulPlugin() {
deferred.resolve();
},
function (error) {
instance.teardownOutput.specResults[0].assertions.push({passed: true, errorMsg: gatherFailureMessage});
instance.teardownOutput.specResults[0].assertions.push({passed: false, errorMsg: gatherFailureMessage});
deferred.resolve();
});

Expand Down

0 comments on commit f404d06

Please sign in to comment.