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

Commit c64a985

Browse files
committed
chore: use only polling on Travis/SL
1 parent 7909ebe commit c64a985

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

karma-shared.conf.js

+7
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,11 @@ module.exports = function(config) {
4949
}
5050
}
5151
});
52+
53+
54+
// TODO(vojta): remove once SauceLabs supports websockets.
55+
// This speeds up the capturing a bit, as browsers don't even try to use websocket.
56+
if (process.env.TRAVIS) {
57+
config.transports = ['xhr-polling'];
58+
}
5259
};

0 commit comments

Comments
 (0)