chore: use only polling on Travis/SL

This commit is contained in:
Vojta Jina 2013-08-21 00:59:45 -07:00
parent 7909ebedc2
commit c64a985307

View file

@ -49,4 +49,11 @@ module.exports = function(config) {
}
}
});
// TODO(vojta): remove once SauceLabs supports websockets.
// This speeds up the capturing a bit, as browsers don't even try to use websocket.
if (process.env.TRAVIS) {
config.transports = ['xhr-polling'];
}
};