From 04492ef2279e2be18162bef89b0a75992a400cae Mon Sep 17 00:00:00 2001 From: James deBoer Date: Mon, 11 Nov 2013 17:25:57 -0800 Subject: chore(mocks): Remove reference to flushNext Closes #4885 --- src/ngMock/angular-mocks.js | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/ngMock/angular-mocks.js b/src/ngMock/angular-mocks.js index f3a6138e..e13675d7 100644 --- a/src/ngMock/angular-mocks.js +++ b/src/ngMock/angular-mocks.js @@ -1657,21 +1657,6 @@ angular.mock.$TimeoutDecorator = function($delegate, $browser) { $browser.defer.flush(delay); }; - /** - * @ngdoc method - * @name ngMock.$timeout#flushNext - * @methodOf ngMock.$timeout - * @description - * - * Flushes the next timeout in the queue and compares it to the provided delay - * - * @param {number=} expectedDelay the delay value that will be asserted against the delay of the - * next timeout function - */ - $delegate.flushNext = function(expectedDelay) { - $browser.defer.flushNext(expectedDelay); - }; - /** * @ngdoc method * @name ngMock.$timeout#verifyNoPendingTasks @@ -2127,4 +2112,4 @@ angular.mock.clearDataCache = function() { } } }; -})(window); \ No newline at end of file +})(window); -- cgit v1.2.3