mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-08 14:46:34 +02:00
Update karma.conf.js
Use the recommended karma-browserstack-launcher settings
This commit is contained in:
@@ -106,6 +106,11 @@ if (browserStack) {
|
|||||||
plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter')
|
plugins.push('karma-browserstack-launcher', 'karma-jasmine-html-reporter')
|
||||||
conf.customLaunchers = browsers
|
conf.customLaunchers = browsers
|
||||||
conf.browsers = browsersKeys
|
conf.browsers = browsersKeys
|
||||||
|
conf.captureTimeout = 300000
|
||||||
|
conf.browserDisconnectTolerance = 0
|
||||||
|
conf.browserDisconnectTimeout = 300000
|
||||||
|
conf.browserSocketTimeout = 120000
|
||||||
|
conf.browserNoActivityTimeout = 300000
|
||||||
reporters.push('BrowserStack', 'kjhtml')
|
reporters.push('BrowserStack', 'kjhtml')
|
||||||
} else {
|
} else {
|
||||||
frameworks.push('detectBrowsers')
|
frameworks.push('detectBrowsers')
|
||||||
|
Reference in New Issue
Block a user