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

Commit 04492ef

Browse files
jbdeboerpetebacondarwin
authored andcommitted
chore(mocks): Remove reference to flushNext
Closes #4885
1 parent c6016a6 commit 04492ef

File tree

1 file changed

+1
-16
lines changed

1 file changed

+1
-16
lines changed

src/ngMock/angular-mocks.js

+1-16
Original file line numberDiff line numberDiff line change
@@ -1657,21 +1657,6 @@ angular.mock.$TimeoutDecorator = function($delegate, $browser) {
16571657
$browser.defer.flush(delay);
16581658
};
16591659

1660-
/**
1661-
* @ngdoc method
1662-
* @name ngMock.$timeout#flushNext
1663-
* @methodOf ngMock.$timeout
1664-
* @description
1665-
*
1666-
* Flushes the next timeout in the queue and compares it to the provided delay
1667-
*
1668-
* @param {number=} expectedDelay the delay value that will be asserted against the delay of the
1669-
* next timeout function
1670-
*/
1671-
$delegate.flushNext = function(expectedDelay) {
1672-
$browser.defer.flushNext(expectedDelay);
1673-
};
1674-
16751660
/**
16761661
* @ngdoc method
16771662
* @name ngMock.$timeout#verifyNoPendingTasks
@@ -2127,4 +2112,4 @@ angular.mock.clearDataCache = function() {
21272112
}
21282113
}
21292114
};
2130-
})(window);
2115+
})(window);

0 commit comments

Comments
 (0)