Skip to content
Snippets Groups Projects
Unverified Commit 835733a0 authored by Lukas Eipert's avatar Lukas Eipert
Browse files

Fix karma junit reports on CI

parent 18b99cca
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
Loading
Loading
@@ -84,7 +84,7 @@ module.exports = function(config) {
basePath: ROOT_PATH,
browsers: ['ChromeHeadlessCustom'],
client: {
isCI: !!process.env.CI
color: !process.env.CI
},
customLaunchers: {
ChromeHeadlessCustom: {
Loading
Loading
/* eslint-disable
jasmine/no-global-setup, jasmine/no-unsafe-spy, no-underscore-dangle, no-console
*/
/* global __karma__ */
 
import $ from 'jquery';
import 'vendor/jasmine-jquery';
Loading
Loading
@@ -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);
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment