chore(e2e): append errors after a failed spec

closes #1579
This commit is contained in:
Foxandxss 2016-06-01 19:16:09 +02:00 committed by Ward Bell
parent 6fd62e9baf
commit 3c3b83a34b
1 changed files with 5 additions and 0 deletions

View File

@ -157,6 +157,11 @@ function Reporter(options) {
_currentSuite.specs.push(currentSpec);
log(spec.status + ' - ' + spec.description);
if (spec.status === 'failed') {
spec.failedExpectations.forEach(function(err) {
log(err.message);
});
}
};
this.jasmineDone = function() {