File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2130,7 +2130,7 @@ describe("ngAnimate $animateCss", function() {
21302130 expect ( style ) . toContain ( 'ease-in' ) ;
21312131 } ) ) ;
21322132
2133- it ( "should only execute the animation if any CSS to styles are mixed into together " ,
2133+ it ( "should execute the animation only if there is any provided CSS styling to go with the transition " ,
21342134 inject ( function ( $animateCss , $rootElement ) {
21352135
21362136 var options = {
@@ -2142,15 +2142,13 @@ describe("ngAnimate $animateCss", function() {
21422142
21432143 expect ( element . css ( prefix + 'transition-delay' ) ) . not . toEqual ( '4s' ) ;
21442144 expect ( element . css ( prefix + 'transition-duration' ) ) . not . toEqual ( '6s' ) ;
2145- expect ( element . css ( prefix + 'transition-timing-function' ) ) . not . toEqual ( 'ease-out' ) ;
21462145
21472146 options . to = { color : 'brown' } ;
21482147 $animateCss ( element , options ) . start ( ) ;
21492148 triggerAnimationStartFrame ( ) ;
21502149
21512150 expect ( element . css ( prefix + 'transition-delay' ) ) . toEqual ( '4s' ) ;
21522151 expect ( element . css ( prefix + 'transition-duration' ) ) . toEqual ( '6s' ) ;
2153- expect ( element . css ( prefix + 'transition-timing-function' ) ) . toEqual ( 'ease-out' ) ;
21542152 } ) ) ;
21552153 } ) ;
21562154
You can’t perform that action at this time.
0 commit comments