From 9fb7d62a214f05acf0a38c19532dcb4923eeaae0 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Sat, 19 Nov 2016 16:52:57 +0200 Subject: [PATCH] Improve karma config for CI --- karma.conf.js | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/karma.conf.js b/karma.conf.js index ec9cacc..8020476 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,5 +1,4 @@ -// Karma configuration -// Generated on Sat Jun 13 2015 12:22:02 GMT+0300 (EEST) +/* eslint-env node */ // https://docs.gitlab.com/ce/ci/variables/README.html // noinspection Eslint @@ -69,9 +68,14 @@ module.exports = function(config) { }; if (isCi) { - params.reporters = ['dots']; - params.autoWatch = false; - params.singleRun = true; + Object.assign(params, { + reporters: ['dots'], + autoWatch: false, + singleRun: true, + client: { + captureConsole: false + } + }); } config.set(params);