Skip to content

Commit

Permalink
Log mouse positions to help debug.
Browse files Browse the repository at this point in the history
  • Loading branch information
octalmage committed Oct 24, 2015
1 parent 66b31b6 commit 49cc03f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/mouse.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ test('Move the mouse.', function(t)
lastKnownPos = robot.moveMouse(0, 0);
t.ok(robot.moveMouse(100, 100), 'successfully moved the mouse.');
currentPos = robot.getMousePos();
console.log("lastKnownPos: " + lastKnownPos);
console.log("currentPos: " + currentPos);
t.ok(currentPos.x === 100, 'mousepos.x is correct.');
t.ok(currentPos.y === 100, 'mousepos.y is correct.');
});

0 comments on commit 49cc03f

Please sign in to comment.