docs(ngAnimateMock): document how to require mocked service in tests

Closes #14668
Closes #14670
This commit is contained in:
Hadrien Tulipe
2016-05-25 17:48:19 +02:00
committed by Peter Bacon Darwin
parent 4d5f5ffc78
commit 7875652298
+2
View File
@@ -761,6 +761,8 @@ angular.mock.TzDate.prototype = Date.prototype;
* @description
* Mock implementation of the {@link ng.$animate `$animate`} service. Exposes two additional methods
* for testing animations.
*
* You need to require the `ngAnimateMock` module in your test suite for instance `beforeEach(module('ngAnimateMock'))`
*/
angular.mock.animate = angular.module('ngAnimateMock', ['ng'])