ngMock.$animate
Improve this Doc View Source $animate
- service in module ngMock
Mock implementation of the $animate
service. Exposes two additional methods for testing animations.
You need to require the ngAnimateMock
module in your test suite for instance beforeEach(module('ngAnim