Skip to content

Commit 1208cf8

Browse files
committed
Updated to match code style.
1 parent c982f0a commit 1208cf8

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

test/mouse.js

+7-6
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ var test = require('tape');
22
var robot = require('..');
33
var lastKnownPos;
44

5-
test('get the initial mouse position', function(t) {
6-
t.plan(3);
7-
t.ok(lastKnownPos = robot.getMousePos(), 'successfully retrieved mouse position');
8-
t.ok(lastKnownPos.x !== undefined, 'mousepos.x is a valid value');
9-
t.ok(lastKnownPos.y !== undefined, 'mousepos.y is a valid value');
10-
});
5+
test('Get the initial mouse position.', function(t)
6+
{
7+
t.plan(3);
8+
t.ok(lastKnownPos = robot.getMousePos(), 'successfully retrieved mouse position.');
9+
t.ok(lastKnownPos.x !== undefined, 'mousepos.x is a valid value.');
10+
t.ok(lastKnownPos.y !== undefined, 'mousepos.y is a valid value.');
11+
});

0 commit comments

Comments
 (0)