Skip to content

Commit 84edc0c

Browse files
committed
Log currentPos to help debug.
1 parent 66b31b6 commit 84edc0c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/mouse.js

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ test('Move the mouse.', function(t)
1919
lastKnownPos = robot.moveMouse(0, 0);
2020
t.ok(robot.moveMouse(100, 100), 'successfully moved the mouse.');
2121
currentPos = robot.getMousePos();
22+
console.log("lastKnownPos: " + lastKnownPos);
23+
console.log("currentPos.x: " + currentPos.x + " currentPos.y: " + currentPos.y);
2224
t.ok(currentPos.x === 100, 'mousepos.x is correct.');
2325
t.ok(currentPos.y === 100, 'mousepos.y is correct.');
2426
});

0 commit comments

Comments
 (0)