@@ -1308,6 +1308,10 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
||||
};
|
||||
|
||||
this.spyOnAllFunctions = function() {
|
||||
return spyRegistry.spyOnAllFunctions.apply(spyRegistry, arguments);
|
||||
};
|
||||
|
||||
this.createSpy = function(name, originalFn) {
|
||||
if (arguments.length === 1 && j$.isFunction_(name)) {
|
||||
originalFn = name;
|
||||
@@ -5482,7 +5486,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
||||
|
||||
/**
|
||||
* Installs spies on all writable and configurable properties of an object.
|
||||
* @name spyOnProperty
|
||||
* @name spyOnAllFunctions
|
||||
* @function
|
||||
* @global
|
||||
* @param {Object} obj - The object upon which to install the {@link Spy}s
|
||||
|
||||
@@ -537,6 +537,10 @@ getJasmineRequireObj().Env = function(j$) {
|
||||
return spyRegistry.spyOnProperty.apply(spyRegistry, arguments);
|
||||
};
|
||||
|
||||
this.spyOnAllFunctions = function() {
|
||||
return spyRegistry.spyOnAllFunctions.apply(spyRegistry, arguments);
|
||||
};
|
||||
|
||||
this.createSpy = function(name, originalFn) {
|
||||
if (arguments.length === 1 && j$.isFunction_(name)) {
|
||||
originalFn = name;
|
||||
|
||||
@@ -237,7 +237,7 @@ getJasmineRequireObj().interface = function(jasmine, env) {
|
||||
|
||||
/**
|
||||
* Installs spies on all writable and configurable properties of an object.
|
||||
* @name spyOnProperty
|
||||
* @name spyOnAllFunctions
|
||||
* @function
|
||||
* @global
|
||||
* @param {Object} obj - The object upon which to install the {@link Spy}s
|
||||
|
||||
Reference in New Issue
Block a user