Skip to content

Commit 5cf7f19

Browse files
committed
add config for Karma browser disconnects and timeouts
1 parent 89601e5 commit 5cf7f19

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

karma.conf.js

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ module.exports = function(config) {
5555

5656
// enable / disable watching file and executing tests whenever any file changes
5757
autoWatch: false,
58-
58+
5959
browserStack: {
6060
username: process.env.BROWSERSTACK_USERNAME,
6161
accessKey: process.env.BROWSERSTACK_KEY
@@ -78,6 +78,11 @@ module.exports = function(config) {
7878
}
7979
},
8080

81+
captureTimeout: 3e5,
82+
browserDisconnectTolerance: 0,
83+
browserDisconnectTimeout: 3e5,
84+
browserSocketTimeout: 1.2e5,
85+
8186
browsers: ['bs_firefox_mac', 'bs_iphone5'],
8287
// start these browsers
8388
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher

0 commit comments

Comments
 (0)