Commit 1208cf8 1 parent c982f0a commit 1208cf8 Copy full SHA for 1208cf8
File tree 1 file changed +7
-6
lines changed
1 file changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -2,9 +2,10 @@ var test = require('tape');
2
2
var robot = require ( '..' ) ;
3
3
var lastKnownPos ;
4
4
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
+ } ) ;
You can’t perform that action at this time.
0 commit comments