diff options
| author | James deBoer | 2013-11-11 17:25:57 -0800 |
|---|---|---|
| committer | Pete Bacon Darwin | 2013-11-14 16:07:36 +0000 |
| commit | 04492ef2279e2be18162bef89b0a75992a400cae (patch) | |
| tree | 3d69986e3eacfe9feb933483f02803be8a02311e /src/ngMock/angular-mocks.js | |
| parent | c6016a6a85780ae68f71bbdd0eea391977225b7e (diff) | |
| download | angular.js-04492ef2279e2be18162bef89b0a75992a400cae.tar.bz2 | |
chore(mocks): Remove reference to flushNext
Closes #4885
Diffstat (limited to 'src/ngMock/angular-mocks.js')
| -rw-r--r-- | src/ngMock/angular-mocks.js | 17 |
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); |
