File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1318,7 +1318,7 @@ describe('sankey tests', function() {
13181318 . then ( done , done . fail ) ;
13191319 } ) ;
13201320
1321- it ( '@flaky should persist the position of every nodes after drag in attributes nodes.(x|y)' , function ( done ) {
1321+ it ( 'should persist the position of every nodes after drag in attributes nodes.(x|y)' , function ( done ) {
13221322 mockCopy . data [ 0 ] . arrangement = arrangement ;
13231323 var move = [ 50 , - 50 ] ;
13241324 var nodes ;
@@ -1346,7 +1346,7 @@ describe('sankey tests', function() {
13461346
13471347 nodes = document . getElementsByClassName ( 'sankey-node' ) ;
13481348 node = nodes . item ( nodes . length - 1 ) ; // Dragged node is now the last one
1349- return drag ( { node : node , dpos : move , timeDelay : arrangement === 'snap' ? 200 : 0 } ) ;
1349+ return drag ( { node : node , dpos : move , timeDelay : arrangement === 'snap' ? 200 : 0 } ) ; // Wait for animation to finish
13501350 } )
13511351 . then ( function ( ) {
13521352 x1 = gd . _fullData [ 0 ] . node . x . slice ( ) ;
You can’t perform that action at this time.
0 commit comments