0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

Update karma.conf.js

Use the recommended karma-browserstack-launcher settings
This commit is contained in:
XhmikosR 2020-05-04 16:35:54 +03:00
parent 89822cfa05
commit b8abded0af

View File

@ -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')