diff options
Diffstat (limited to 'tests/socket_cursor.js')
-rw-r--r-- | tests/socket_cursor.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/socket_cursor.js b/tests/socket_cursor.js index dc0ca7f..e9e4df7 100644 --- a/tests/socket_cursor.js +++ b/tests/socket_cursor.js @@ -1,8 +1,8 @@ // Tests Socket.cursor and Socket.on('cursor') -socket = require('../socket'); +Socket = require('../socket'); -world = new socket.Socket(); +world = new Socket(); world.on('open', ()=>{world.cursor([22,23])}); world.on('cursor', (locs, send)=>{console.log(locs,send)}); |