Skip to content

Commit a73a1c0

Browse files
authored
typo correction (#501)
may be this was not caught due to x === y for test cases
1 parent a5e7b9f commit a73a1c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

specs/draggable.spec.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -957,7 +957,7 @@ function mouseMove(x, y, node) {
957957
function simulateMovementFromTo(drag, fromX, fromY, toX, toY) {
958958
const node = ReactDOM.findDOMNode(drag);
959959

960-
TestUtils.Simulate.mouseDown(node, {clientX: fromX, clientY: fromX});
960+
TestUtils.Simulate.mouseDown(node, {clientX: fromX, clientY: fromY});
961961
mouseMove(toX, toY, node);
962962
TestUtils.Simulate.mouseUp(node);
963963
}

0 commit comments

Comments
 (0)