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

@@ -28,9 +28,7 @@ jasmine.Suite.prototype.getFullName = function() {
};
jasmine.Suite.prototype.finishCallback = function() {
if (this.env.reporter) {
this.env.reporter.reportSuiteResults(this);
}
this.env.reporter.reportSuiteResults(this);
};
jasmine.Suite.prototype.beforeEach = function(beforeEachFunction) {