mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-30 15:29:33 +05:30
Improve karma config for CI
This commit is contained in:
parent
63ab3d58e8
commit
9fb7d62a21
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user