Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2019-04-01 17:26:43 +0300
committerGitHub <noreply@github.com>2019-04-01 17:26:43 +0300
commitefb9a7749f2d270050bd935492ee9992ceb43714 (patch)
treea6a5417d4c3a9950abeb2f71c5f5daac577de075 /js/tests/karma.conf.js
parentf2d33cd86b2bc21fba9078e6d0955f5308494ec1 (diff)
karma.conf.js: switch to `CI === true`. (#28588)
Diffstat (limited to 'js/tests/karma.conf.js')
-rw-r--r--js/tests/karma.conf.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/tests/karma.conf.js b/js/tests/karma.conf.js
index 16f07cbf1a..276610b801 100644
--- a/js/tests/karma.conf.js
+++ b/js/tests/karma.conf.js
@@ -30,7 +30,7 @@ const reporters = ['dots']
const detectBrowsers = {
usePhantomJS: false,
postDetection(availableBrowser) {
- if (typeof env.TRAVIS_JOB_ID !== 'undefined' || availableBrowser.includes('Chrome')) {
+ if (env.CI === true || availableBrowser.includes('Chrome')) {
return debug ? ['Chrome'] : ['ChromeHeadless']
}