jasmine.Env should always have a reporter now, no need to check.

This commit is contained in:
Christian Williams
2009-07-08 18:01:05 -07:00
parent a6aa9c652b
commit 0c24c2df2e
6 changed files with 9 additions and 25 deletions

View File

@@ -12,9 +12,7 @@ jasmine.Runner = function(env) {
jasmine.util.inherit(jasmine.Runner, jasmine.ActionCollection);
jasmine.Runner.prototype.finishCallback = function() {
if (this.env.reporter) {
this.env.reporter.reportRunnerResults(this);
}
this.env.reporter.reportRunnerResults(this);
};
jasmine.Runner.prototype.getResults = function() {