aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/animationSpec.js
blob: 86592643842c81801813b2e18a9828ad6331d417 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
'use strict';

describe('$animation', function() {

  it('should allow animation registration', function() {
    var noopCustom = function(){};
    module(function($animationProvider) {
      $animationProvider.register('noop-custom', valueFn(noopCustom));
    });
    inject(function($animation) {
      expect($animation('noop-custom')).toBe(noopCustom);
    }); 
  });

});