mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-08 17:10:06 +08:00
16 lines
377 B
JavaScript
16 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);
|
|
});
|
|
});
|
|
|
|
});
|