File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -1362,8 +1362,8 @@ describe('Test geo interactions', function() {
13621362 . toBe ( hoverLabelCnt , msg ) ;
13631363 }
13641364
1365- var px = 390 ;
1366- var py = 290 ;
1365+ var px = 200 ;
1366+ var py = 200 ;
13671367 var cnt = 0 ;
13681368
13691369 Plotly . newPlot ( gd , fig ) . then ( function ( ) {
@@ -1374,14 +1374,14 @@ describe('Test geo interactions', function() {
13741374
13751375 return new Promise ( function ( resolve ) {
13761376 var interval = setInterval ( function ( ) {
1377- px + = 2 ;
1377+ py - = 2 ;
13781378 mouseEvent ( 'mousemove' , px , py ) ;
13791379
1380- if ( px < 402 ) {
1381- _assert ( '- px ' + px , 1 ) ;
1380+ if ( py > 175 ) {
1381+ _assert ( '- py ' + py , 1 ) ;
13821382 expect ( cnt ) . toBe ( 0 , 'no plotly_unhover event so far' ) ;
13831383 } else {
1384- _assert ( '- px ' + px , 0 ) ;
1384+ _assert ( '- py ' + py , 0 ) ;
13851385 expect ( cnt ) . toBe ( 1 , 'plotly_unhover event count' ) ;
13861386
13871387 clearInterval ( interval ) ;
You can’t perform that action at this time.
0 commit comments