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
// 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);