Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8336f3f

Browse files
committed
fix(angular-mocks): fix forEach -> angular.forEach in $browser.defer.cancel
1 parent e14ac2c commit 8336f3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/angular-mocks.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ function MockBrowser() {
279279
self.defer.cancel = function(deferId) {
280280
var fnIndex;
281281

282-
forEach(self.deferredFns, function(fn, index) {
282+
angular.forEach(self.deferredFns, function(fn, index) {
283283
if (fn.id === deferId) fnIndex = index;
284284
});
285285

0 commit comments

Comments
 (0)