Skip to content

Commit 79add95

Browse files
committed
see if node 7 builds can succeed
1 parent a74bf93 commit 79add95

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/server.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -917,8 +917,10 @@ describe('server', function () {
917917
it('should trigger transport close before open for ws', function (done) {
918918
var opts = { transports: ['websocket'] };
919919
listen(opts, function (port) {
920-
var url = 'ws://%s:%d'.s('0.0.0.50', port);
921-
var socket = new eioc.Socket(url);
920+
// var url = 'ws://%s:%d'.s('0.0.0.50', port);
921+
// console.log('url', url);
922+
var socket = new eioc.Socket('ws://0.0.0.50:%d'.s(port));
923+
// var socket = new eioc.Socket('ws://0.0.0.50:%d').s(port);
922924
socket.on('open', function () {
923925
done(new Error('Test invalidation'));
924926
});

0 commit comments

Comments
 (0)