Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dba462e commit 1c6620dCopy full SHA for 1c6620d
test/socket.io.js
@@ -1022,7 +1022,7 @@ describe('socket.io', function(){
1022
var sio = io(srv);
1023
srv.listen(function() {
1024
var addr = srv.listen().address();
1025
- var url = 'ws://' + addr.address + ':' + addr.port + '?key1=1&key2=2';
+ var url = 'ws://localhost:' + addr.port + '?key1=1&key2=2';
1026
var socket = ioc(url);
1027
sio.on('connection', function(s) {
1028
var parsed = require('url').parse(s.request.url);
@@ -1035,7 +1035,7 @@ describe('socket.io', function(){
1035
});
1036
1037
it('should handle very large json', function(done){
1038
- this.timeout();
+ this.timeout(30000);
1039
var srv = http();
1040
1041
var received = 0;
0 commit comments