Skip to content

Commit b815f31

Browse files
committed
Fix flaky sankey test
1 parent 2ac0b90 commit b815f31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/jasmine/tests/sankey_test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -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});
1349+
return drag({node: node, dpos: move, timeDelay: arrangement === 'snap' ? 200 : 0});
13501350
})
13511351
.then(function() {
13521352
x1 = gd._fullData[0].node.x.slice();

0 commit comments

Comments
 (0)