diff options
Diffstat (limited to 'test/testabilityPatch.js')
| -rw-r--r-- | test/testabilityPatch.js | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/test/testabilityPatch.js b/test/testabilityPatch.js index 34e1710b..375e01c7 100644 --- a/test/testabilityPatch.js +++ b/test/testabilityPatch.js @@ -8,7 +8,7 @@ _jQuery.event.special.change = undefined; if (window.jstestdriver) { - jstd = jstestdriver; + window.jstd = jstestdriver; window.dump = function(){ var args = []; forEach(arguments, function(arg){ @@ -175,8 +175,7 @@ extend(angular, { 'isFunction': isFunction, 'isObject': isObject, 'isNumber': isNumber, - 'isArray': isArray, - 'forEach': forEach + 'isArray': isArray }); @@ -317,8 +316,8 @@ function assertThrows(error, fn){ assertEquals(error, exception); } -log = noop; -error = noop; +window.log = noop; +window.error = noop; function rethrow(e) { if(e) { |
