File tree Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Expand file tree Collapse file tree 1 file changed +17
-9
lines changed Original file line number Diff line number Diff line change @@ -1053,16 +1053,24 @@ describe('sankey tests', function() {
10531053 . then ( done ) ;
10541054 } ) ;
10551055
1056- [ 'node' , 'link' ] . forEach ( function ( obj ) {
1057- it ( '@flaky should not output hover/unhover event data when ' + obj + '.hoverinfo is skip' , function ( done ) {
1058- var fig = Lib . extendDeep ( { } , mock ) ;
1056+ it ( 'should not output hover/unhover event data when link.hoverinfo is skip' , function ( done ) {
1057+ var fig = Lib . extendDeep ( { } , mock ) ;
10591058
1060- Plotly . plot ( gd , fig )
1061- . then ( function ( ) { return Plotly . restyle ( gd , obj + '.hoverinfo' , 'skip' ) ; } )
1062- . then ( assertNoHoverEvents ( obj ) )
1063- . catch ( failTest )
1064- . then ( done ) ;
1065- } ) ;
1059+ Plotly . plot ( gd , fig )
1060+ . then ( function ( ) { return Plotly . restyle ( gd , 'link.hoverinfo' , 'skip' ) ; } )
1061+ . then ( assertNoHoverEvents ( 'link' ) )
1062+ . catch ( failTest )
1063+ . then ( done ) ;
1064+ } ) ;
1065+
1066+ it ( 'should not output hover/unhover event data when node.hoverinfo is skip' , function ( done ) {
1067+ var fig = Lib . extendDeep ( { } , mock ) ;
1068+
1069+ Plotly . plot ( gd , fig )
1070+ . then ( function ( ) { return Plotly . restyle ( gd , 'node.hoverinfo' , 'skip' ) ; } )
1071+ . then ( assertNoHoverEvents ( 'node' ) )
1072+ . catch ( failTest )
1073+ . then ( done ) ;
10661074 } ) ;
10671075 } ) ;
10681076
You can’t perform that action at this time.
0 commit comments