aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ngMock/angular-mocks.js17
1 files changed, 1 insertions, 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
@@ -1659,21 +1659,6 @@ angular.mock.$TimeoutDecorator = function($delegate, $browser) {
/**
* @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
* @methodOf ngMock.$timeout
* @description
@@ -2127,4 +2112,4 @@ angular.mock.clearDataCache = function() {
}
}
};
-})(window); \ No newline at end of file
+})(window);