jasmine.Env should always have a reporter now, no need to check.
This commit is contained in:
@@ -103,9 +103,7 @@ jasmine.Spec.prototype.resetTimeout = function() {
|
||||
};
|
||||
|
||||
jasmine.Spec.prototype.finishCallback = function() {
|
||||
if (this.env.reporter) {
|
||||
this.env.reporter.reportSpecResults(this);
|
||||
}
|
||||
this.env.reporter.reportSpecResults(this);
|
||||
};
|
||||
|
||||
jasmine.Spec.prototype.finish = function() {
|
||||
|
||||
Reference in New Issue
Block a user