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

karma.conf.js: switch to CI === true. (#28588)

This commit is contained in:
XhmikosR 2019-04-01 17:26:43 +03:00
parent 1c7cb61072
commit 060880296a

View File

@ -27,7 +27,7 @@ const reporters = ['dots']
const detectBrowsers = {
usePhantomJS: false,
postDetection(availableBrowser) {
if (typeof process.env.TRAVIS_JOB_ID !== 'undefined' || availableBrowser.includes('Chrome')) {
if (process.env.CI === true || availableBrowser.includes('Chrome')) {
return ['ChromeHeadless']
}