diff --git a/test/mouse.js b/test/mouse.js index c325e76c..4dceebf6 100644 --- a/test/mouse.js +++ b/test/mouse.js @@ -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.x: " + currentPos.x + " currentPos.y: " + currentPos.y); t.ok(currentPos.x === 100, 'mousepos.x is correct.'); t.ok(currentPos.y === 100, 'mousepos.y is correct.'); });