Improve karma config for CI

This commit is contained in:
SleepWalker 2016-11-19 16:52:57 +02:00
parent 63ab3d58e8
commit 9fb7d62a21

View File

@ -1,5 +1,4 @@
// Karma configuration /* eslint-env node */
// Generated on Sat Jun 13 2015 12:22:02 GMT+0300 (EEST)
// https://docs.gitlab.com/ce/ci/variables/README.html // https://docs.gitlab.com/ce/ci/variables/README.html
// noinspection Eslint // noinspection Eslint
@ -69,9 +68,14 @@ module.exports = function(config) {
}; };
if (isCi) { if (isCi) {
params.reporters = ['dots']; Object.assign(params, {
params.autoWatch = false; reporters: ['dots'],
params.singleRun = true; autoWatch: false,
singleRun: true,
client: {
captureConsole: false
}
});
} }
config.set(params); config.set(params);