jasmine.Env should always have a reporter now, no need to check.
This commit is contained in:
@@ -143,7 +143,7 @@ describe('Spies', function () {
|
||||
});
|
||||
|
||||
it('calls removeAllSpies during spec finish', function() {
|
||||
var test = new jasmine.Spec({}, {}, 'sample test');
|
||||
var test = new jasmine.Spec(new jasmine.Env(), {}, 'sample test');
|
||||
|
||||
this.spyOn(test, 'removeAllSpies');
|
||||
|
||||
|
||||
Reference in New Issue
Block a user