Skip to content

Commit ef23c74

Browse files
committed
remove compression tests
1 parent 49423d7 commit ef23c74

File tree

1 file changed

+0
-30
lines changed

1 file changed

+0
-30
lines changed

test/socket.io.js

Lines changed: 0 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1330,36 +1330,6 @@ describe('socket.io', function(){
13301330
});
13311331
});
13321332

1333-
it('should enable compression by default', function(done){
1334-
var srv = http();
1335-
var sio = io(srv);
1336-
srv.listen(function(){
1337-
var socket = client(srv);
1338-
sio.on('connection', function(s){
1339-
s.conn.once('packetCreate', function(packet) {
1340-
expect(packet.options.compress).to.be(true);
1341-
done();
1342-
});
1343-
s.emit('woot', 'hi');
1344-
});
1345-
});
1346-
});
1347-
1348-
it('should disable compression', function(done){
1349-
var srv = http();
1350-
var sio = io(srv);
1351-
srv.listen(function(){
1352-
var socket = client(srv);
1353-
sio.on('connection', function(s){
1354-
s.conn.once('packetCreate', function(packet) {
1355-
expect(packet.options.compress).to.be(false);
1356-
done();
1357-
});
1358-
s.compress(false).emit('woot', 'hi');
1359-
});
1360-
});
1361-
});
1362-
13631333
it('should error with raw binary and warn', function(done){
13641334
var srv = http();
13651335
var sio = io(srv);

0 commit comments

Comments
 (0)