File tree 1 file changed +3
-10
lines changed
1 file changed +3
-10
lines changed Original file line number Diff line number Diff line change @@ -2641,7 +2641,7 @@ describe('Hover on multicategory axes', function() {
2641
2641
. then ( done , done . fail ) ;
2642
2642
} ) ;
2643
2643
2644
- it ( 'should work with series' , function ( done ) {
2644
+ fit ( 'should work with series' , function ( done ) {
2645
2645
var fig = Lib . extendDeep ( { } , require ( '@mocks/zz-multicategory_series.json' ) ) ;
2646
2646
fig . data = [ fig . data [ 0 ] ] ;
2647
2647
fig . layout . width = 500 ;
@@ -2655,21 +2655,14 @@ describe('Hover on multicategory axes', function() {
2655
2655
} )
2656
2656
. then ( function ( ) { _hover ( 200 , 200 ) ; } )
2657
2657
. then ( function ( ) {
2658
- assertHoverLabelContent ( {
2659
- nums : 'x: 2017 - q3\ny: Group 3 - A\nz: 2.303'
2660
- } ) ;
2661
- expect ( eventData . x ) . toEqual ( [ '2017' , 'q3' ] ) ;
2658
+ expect ( eventData . x ) . toEqual ( [ 'High' , 4 ] ) ;
2662
2659
} )
2663
2660
. then ( function ( ) {
2664
2661
return Plotly . restyle ( gd , 'hovertemplate' , '%{z} @ %{x} | %{y}' ) ;
2665
2662
} )
2666
2663
. then ( function ( ) { _hover ( 200 , 200 ) ; } )
2667
2664
. then ( function ( ) {
2668
- assertHoverLabelContent ( {
2669
- nums : '2.303 @ 2017 - q3 | Group 3 - A' ,
2670
- name : 'w/ 2d z'
2671
- } ) ;
2672
- expect ( eventData . x ) . toEqual ( [ '2017' , 'q3' ] ) ;
2665
+ expect ( eventData . x ) . toEqual ( [ 'High' , 4 ] ) ;
2673
2666
} )
2674
2667
. then ( done , done . fail ) ;
2675
2668
} ) ;
You can’t perform that action at this time.
0 commit comments