Skip to content
Permalink
Browse files

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

Closes #14668
Closes #14670
  • Loading branch information
htulipe authored and petebacondarwin committed May 25, 2016
1 parent 4d5f5ff commit 7875652298113caf3129ce89ebbb9d27e7f55a28
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/ngMock/angular-mocks.js
@@ -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'])

0 comments on commit 7875652

Please sign in to comment.
You can’t perform that action at this time.