aboutsummaryrefslogtreecommitdiff
path: root/tests/socket_fetch.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/socket_fetch.js')
-rw-r--r--tests/socket_fetch.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/socket_fetch.js b/tests/socket_fetch.js
index a613dc6..b558f89 100644
--- a/tests/socket_fetch.js
+++ b/tests/socket_fetch.js
@@ -1,7 +1,7 @@
// Tests Socket.fetch and Socket.on('fetch')
-const socket = require('../socket');
+const Socket = require('../socket');
-let world = new socket.Socket();
+let world = new Socket();
world.on('open', () => {world.fetch([[10,10,10,10]])});