aboutsummaryrefslogtreecommitdiff
path: root/tests/socket_fetch.js
diff options
context:
space:
mode:
authorHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 20:57:16 -0500
committerHolden Rohrer <holden.rohrer@gmail.com>2019-12-18 20:57:16 -0500
commit84d292cfdad4249885e43b7123634e5a8dd0ff1f (patch)
tree1f4b3f0b674f85dc033275fb5ad49f19aa7058c7 /tests/socket_fetch.js
parentcb7d31d863320db9257a619eea0422cc43bb05a4 (diff)
updated socket and space to export the main class
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]])});