diff --git a/package.json b/package.json index 7c89cbb783..53a39a9e95 100644 --- a/package.json +++ b/package.json @@ -24,7 +24,7 @@ "engine.io": "1.6.8", "socket.io-parser": "2.2.6", "socket.io-client": "git://github.com/nus-fboa2016-si/socket.io-client#e0580ef4", - "socket.io-adapter": "0.4.0", + "socket.io-adapter": "0.5.0", "has-binary": "0.1.7", "debug": "2.2.0" }, diff --git a/test/socket.io.js b/test/socket.io.js index 6d1c9fec55..00354afd30 100644 --- a/test/socket.io.js +++ b/test/socket.io.js @@ -655,7 +655,7 @@ describe('socket.io', function(){ }); }); }); - + it('should not reuse same-namespace connections', function(done){ var srv = http(); var sio = io(srv); @@ -746,6 +746,7 @@ describe('socket.io', function(){ } }); + it('should find all clients across namespace rooms', function(done){ var srv = http(); var sio = io(srv); @@ -1533,7 +1534,7 @@ describe('socket.io', function(){ }); }); }); - + it('should see query parameters sent from secondary namespace connections in handshake object', function(done){ var srv = http(); var sio = io(srv);