File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ function runTests(transitionDuration) {
7575 value : 10
7676 }
7777 } , [ 0 ] ) . then ( function ( ) {
78- expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ {
78+ expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ jasmine . objectContaining ( {
7979 enabled : true ,
8080 type : 'filter' ,
8181 operation : '<' ,
8282 target : 'x' ,
8383 value : 10
84- } ] ) ;
84+ } ) ] ) ;
8585
8686 return Plots . transition ( gd , [ {
8787 'transforms[0].operation' : '>'
@@ -90,13 +90,13 @@ function runTests(transitionDuration) {
9090 { duration : transitionDuration , easing : 'cubic-in-out' }
9191 ) ;
9292 } ) . then ( function ( ) {
93- expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ {
93+ expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ jasmine . objectContaining ( {
9494 enabled : true ,
9595 type : 'filter' ,
9696 operation : '>' ,
9797 target : 'x' ,
9898 value : 10
99- } ] ) ;
99+ } ) ] ) ;
100100 } ) . catch ( fail ) . then ( done ) ;
101101 } ) ;
102102
You can’t perform that action at this time.
0 commit comments