mirror of
https://github.com/Hopiu/angular.js.git
synced 2026-03-17 07:40:22 +00:00
15 lines
377 B
JavaScript
15 lines
377 B
JavaScript
'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);
|
|
});
|
|
});
|
|
|
|
});
|