mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-05-02 12:14:45 +00:00
parent
c6016a6a85
commit
04492ef227
1 changed files with 1 additions and 16 deletions
17
src/ngMock/angular-mocks.js
vendored
17
src/ngMock/angular-mocks.js
vendored
|
|
@ -1657,21 +1657,6 @@ angular.mock.$TimeoutDecorator = function($delegate, $browser) {
|
||||||
$browser.defer.flush(delay);
|
$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
|
* @ngdoc method
|
||||||
* @name ngMock.$timeout#verifyNoPendingTasks
|
* @name ngMock.$timeout#verifyNoPendingTasks
|
||||||
|
|
@ -2127,4 +2112,4 @@ angular.mock.clearDataCache = function() {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
})(window);
|
})(window);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue