From b8abded0afe78519c4c2a185d30e8cf245ed243f Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 4 May 2020 16:35:54 +0300 Subject: [PATCH] Update karma.conf.js Use the recommended karma-browserstack-launcher settings --- js/tests/karma.conf.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js index 536c1ab2f4..c9826c05ea 100644 --- a/js/tests/karma.conf.js +++ b/js/tests/karma.conf.js @@ -106,6 +106,11 @@ if (browserStack) { plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter') conf.customLaunchers = browsers conf.browsers = browsersKeys + conf.captureTimeout = 300000 + conf.browserDisconnectTolerance = 0 + conf.browserDisconnectTimeout = 300000 + conf.browserSocketTimeout = 120000 + conf.browserNoActivityTimeout = 300000 reporters.push('BrowserStack', 'kjhtml') } else { frameworks.push('detectBrowsers')