@@ -1095,8 +1095,8 @@ describe('annotation effects', function() {
10951095 mouseEvent ( 'mouseout' , pos [ 0 ] , pos [ 1 ] ) ;
10961096 mouseEvent ( 'mousemove' , 0 , 0 ) ;
10971097
1098- setTimeout ( resolve , constants . HOVERMINTIME ) ;
1099- } , constants . HOVERMINTIME ) ;
1098+ setTimeout ( resolve , constants . HOVERMINTIME * 1.5 ) ;
1099+ } , constants . HOVERMINTIME * 1.5 ) ;
11001100 } ) ;
11011101 }
11021102
@@ -1107,10 +1107,10 @@ describe('annotation effects', function() {
11071107 spec . push ( [ pos0Head , '' ] ) ;
11081108 spec . push ( [ pos2Head , '' ] ) ;
11091109 var p = Promise . resolve ( ) ;
1110- spec . forEach ( function ( speci , i ) {
1110+ spec . forEach ( function ( speci ) {
11111111 p = p . then ( function ( ) {
11121112 return assertHoverLabel ( speci [ 0 ] , speci [ 1 ] ,
1113- msg ? msg + ' (' + i + ')' : i ) ;
1113+ msg ? msg + ' (' + speci + ')' : speci ) ;
11141114 } ) ;
11151115 } ) ;
11161116 return p ;
@@ -1132,7 +1132,7 @@ describe('annotation effects', function() {
11321132 }
11331133
11341134 makePlot ( [
1135- { x : 50 , y : 50 , text : 'hi' , width : 50 , ax : 0 , ay : - 40 , xshift : - 50 , yshift : 50 } ,
1135+ { x : 50 , y : 50 , text : 'hi' , width : 50 , height : 40 , ax : 0 , ay : - 40 , xshift : - 50 , yshift : 50 } ,
11361136 { x : 20 , y : 20 , text : 'bye' , height : 40 , showarrow : false } ,
11371137 { x : 80 , y : 80 , text : 'why?' , ax : 0 , ay : - 40 }
11381138 ] , { } ) // turn off the default editable: true
0 commit comments