diff options
author | Lukas Eipert <leipert@gitlab.com> | 2018-09-14 16:40:53 +0300 |
---|---|---|
committer | Lukas Eipert <leipert@gitlab.com> | 2018-09-14 16:52:38 +0300 |
commit | 835733a07031e1d5e2f7e30e5f86c2c54c3018a4 (patch) | |
tree | 95ab9d1e7cbce2d343541f07359358bebc3782b6 /spec/javascripts/test_bundle.js | |
parent | 18b99cca2e523d41b0fc078f056b722320ca5cee (diff) |
Fix karma junit reports on CI
Diffstat (limited to 'spec/javascripts/test_bundle.js')
-rw-r--r-- | spec/javascripts/test_bundle.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/javascripts/test_bundle.js b/spec/javascripts/test_bundle.js index b89d10cb993..96c0844f83c 100644 --- a/spec/javascripts/test_bundle.js +++ b/spec/javascripts/test_bundle.js @@ -1,7 +1,6 @@ /* eslint-disable jasmine/no-global-setup, jasmine/no-unsafe-spy, no-underscore-dangle, no-console */ -/* global __karma__ */ import $ from 'jquery'; import 'vendor/jasmine-jquery'; @@ -42,8 +41,8 @@ jasmine.getJSONFixtures().fixturesPath = FIXTURES_PATH; beforeAll(() => { jasmine.addMatchers( jasmineDiff(jasmine, { - colors: !__karma__.config.isCi, - inline: !__karma__.config.isCi, + colors: window.__karma__.config.color, + inline: window.__karma__.config.color, }), ); jasmine.addMatchers(customMatchers); |