diff options
author | XhmikosR <xhmikosr@gmail.com> | 2019-04-01 17:26:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-01 17:26:43 +0300 |
commit | efb9a7749f2d270050bd935492ee9992ceb43714 (patch) | |
tree | a6a5417d4c3a9950abeb2f71c5f5daac577de075 | |
parent | f2d33cd86b2bc21fba9078e6d0955f5308494ec1 (diff) |
karma.conf.js: switch to `CI === true`. (#28588)
-rw-r--r-- | js/tests/karma.conf.js | 2 |
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'] } |