This repository was archived by the owner on Apr 12, 2024. It is now read-only.
File tree 1 file changed +1
-3
lines changed 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -2130,7 +2130,7 @@ describe("ngAnimate $animateCss", function() {
2130
2130
expect ( style ) . toContain ( 'ease-in' ) ;
2131
2131
} ) ) ;
2132
2132
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 " ,
2134
2134
inject ( function ( $animateCss , $rootElement ) {
2135
2135
2136
2136
var options = {
@@ -2142,15 +2142,13 @@ describe("ngAnimate $animateCss", function() {
2142
2142
2143
2143
expect ( element . css ( prefix + 'transition-delay' ) ) . not . toEqual ( '4s' ) ;
2144
2144
expect ( element . css ( prefix + 'transition-duration' ) ) . not . toEqual ( '6s' ) ;
2145
- expect ( element . css ( prefix + 'transition-timing-function' ) ) . not . toEqual ( 'ease-out' ) ;
2146
2145
2147
2146
options . to = { color : 'brown' } ;
2148
2147
$animateCss ( element , options ) . start ( ) ;
2149
2148
triggerAnimationStartFrame ( ) ;
2150
2149
2151
2150
expect ( element . css ( prefix + 'transition-delay' ) ) . toEqual ( '4s' ) ;
2152
2151
expect ( element . css ( prefix + 'transition-duration' ) ) . toEqual ( '6s' ) ;
2153
- expect ( element . css ( prefix + 'transition-timing-function' ) ) . toEqual ( 'ease-out' ) ;
2154
2152
} ) ) ;
2155
2153
} ) ;
2156
2154
You can’t perform that action at this time.
0 commit comments