File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,13 +75,13 @@ function runTests(transitionDuration) {
75
75
value : 10
76
76
}
77
77
} , [ 0 ] ) . then ( function ( ) {
78
- expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ {
78
+ expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ jasmine . objectContaining ( {
79
79
enabled : true ,
80
80
type : 'filter' ,
81
81
operation : '<' ,
82
82
target : 'x' ,
83
83
value : 10
84
- } ] ) ;
84
+ } ) ] ) ;
85
85
86
86
return Plots . transition ( gd , [ {
87
87
'transforms[0].operation' : '>'
@@ -90,13 +90,13 @@ function runTests(transitionDuration) {
90
90
{ duration : transitionDuration , easing : 'cubic-in-out' }
91
91
) ;
92
92
} ) . then ( function ( ) {
93
- expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ {
93
+ expect ( gd . _fullData [ 0 ] . transforms ) . toEqual ( [ jasmine . objectContaining ( {
94
94
enabled : true ,
95
95
type : 'filter' ,
96
96
operation : '>' ,
97
97
target : 'x' ,
98
98
value : 10
99
- } ] ) ;
99
+ } ) ] ) ;
100
100
} ) . catch ( fail ) . then ( done ) ;
101
101
} ) ;
102
102
You can’t perform that action at this time.
0 commit comments