Skip to content

Commit dccbe41

Browse files
devversionjelbourn
authored andcommitted
chore: switch saucelabs to websocket protocol (#2399)
* Since saucelabs already supports Websockets now and it's faster we should use Websockets here. Reference: https://saucelabs.com/blog/sauce-connect-gets-a-speed-boost-websocket-support
1 parent 3230c33 commit dccbe41

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

test/karma.config.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -103,11 +103,6 @@ export function config(config) {
103103
if (platform == 'saucelabs') {
104104
config.sauceLabs.build = buildId;
105105
config.sauceLabs.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER;
106-
107-
// TODO(mlaval): remove once SauceLabs supports websockets.
108-
// This speeds up the capturing a bit, as browsers don't even try to use websocket.
109-
console.log('>>>> setting socket.io transport to polling <<<<');
110-
config.transports = ['polling'];
111106
} else if (platform == 'browserstack') {
112107
config.browserStack.build = buildId;
113108
config.browserStack.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER;

0 commit comments

Comments
 (0)