mirror of
https://github.com/twbs/bootstrap.git
synced 2025-12-08 00:03:56 -05:00
karma.conf.js: switch to CI === true. (#28588)
This commit is contained in:
parent
f2d33cd86b
commit
efb9a7749f
@ -30,7 +30,7 @@ const reporters = ['dots']
|
|||||||
const detectBrowsers = {
|
const detectBrowsers = {
|
||||||
usePhantomJS: false,
|
usePhantomJS: false,
|
||||||
postDetection(availableBrowser) {
|
postDetection(availableBrowser) {
|
||||||
if (typeof env.TRAVIS_JOB_ID !== 'undefined' || availableBrowser.includes('Chrome')) {
|
if (env.CI === true || availableBrowser.includes('Chrome')) {
|
||||||
return debug ? ['Chrome'] : ['ChromeHeadless']
|
return debug ? ['Chrome'] : ['ChromeHeadless']
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user