Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit c655123

Browse files
committed
chore(saucelabs): use 'websocket' for transmission when possible
1 parent bf073be commit c655123

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

karma-shared.conf.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,6 +189,9 @@ module.exports = function(config, specificOptions) {
189189
config.sauceLabs.tunnelIdentifier = process.env.TRAVIS_JOB_NUMBER;
190190
config.sauceLabs.recordScreenshots = true;
191191

192+
// Try 'websocket' for a faster transmission first. Fallback to 'polling' if necessary.
193+
config.transports = ['websocket', 'polling'];
194+
192195
// Debug logging into a file, that we print out at the end of the build.
193196
config.loggers.push({
194197
type: 'file',

0 commit comments

Comments
 (0)