Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5f7a139

Browse files
committed
add delay
1 parent a59375b commit 5f7a139

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/jasmine/tests/sankey_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1454,6 +1454,7 @@ describe('sankey tests', function() {
14541454
positionAfterDrag = [positionBeforeDrag[0] + move[0], positionBeforeDrag[1] + move[1]];
14551455
return drag({node: node, dpos: move, nsteps: 10, timeDelay: 1000});
14561456
})
1457+
.then(delay(500))
14571458
.then(function() {
14581459
// Check that the node was really moved
14591460
nodes = document.getElementsByClassName('sankey-node');

0 commit comments

Comments
 (0)