We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf93363 commit 8081dd1Copy full SHA for 8081dd1
test/mouse.js
@@ -16,6 +16,6 @@ test('Move the mouse.', function(t)
16
lastKnownPos = robot.moveMouse(0, 0);
17
t.ok(robot.moveMouse(100, 100), 'successfully moved the mouse.');
18
currentPos = robot.getMousePos();
19
- t.ok(currentPos.x !== lastKnownPos.x, 'mousepos.x has changed.');
20
- t.ok(currentPos.y !== lastKnownPos.y, 'mousepos.y has changed.');
+ t.ok(currentPos.x === 100, 'mousepos.x is correct.');
+ t.ok(currentPos.y === 100, 'mousepos.y is correct.');
21
});
0 commit comments