Make spyOnProperty available in tests
Needed adding to the env and require interface
This commit is contained in:
committed by
Joe Cellucci
parent
56191cfb2e
commit
8e23c26383
@@ -56,6 +56,10 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
||||
return env.spyOn(obj, methodName);
|
||||
},
|
||||
|
||||
spyOnProperty: function(obj, methodName, accessType) {
|
||||
return env.spyOnProperty(obj, methodName, accessType);
|
||||
},
|
||||
|
||||
jsApiReporter: new jasmine.JsApiReporter({
|
||||
timer: new jasmine.Timer()
|
||||
}),
|
||||
|
||||
Reference in New Issue
Block a user