Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1c6620d

Browse files
committed
everything is fixed
1 parent dba462e commit 1c6620d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/socket.io.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1022,7 +1022,7 @@ describe('socket.io', function(){
10221022
var sio = io(srv);
10231023
srv.listen(function() {
10241024
var addr = srv.listen().address();
1025-
var url = 'ws://' + addr.address + ':' + addr.port + '?key1=1&key2=2';
1025+
var url = 'ws://localhost:' + addr.port + '?key1=1&key2=2';
10261026
var socket = ioc(url);
10271027
sio.on('connection', function(s) {
10281028
var parsed = require('url').parse(s.request.url);
@@ -1035,7 +1035,7 @@ describe('socket.io', function(){
10351035
});
10361036

10371037
it('should handle very large json', function(done){
1038-
this.timeout();
1038+
this.timeout(30000);
10391039
var srv = http();
10401040
var sio = io(srv);
10411041
var received = 0;

0 commit comments

Comments
 (0)