Improve this Doc View Source $animate
- service in module ngMock
Mock implementation of the
$animate service. Exposes two additional methods for testing animations.
This method is used to flush the pending callbacks and animation frames to either start an animation or conclude an animation. Note that this will not actually close an actively running animation (see
© 2010–2017 Google, Inc.
Licensed under the Creative Commons Attribution License 4.0.