diff options
author | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-11-07 15:48:11 -0600 |
---|---|---|
committer | Jose Ivan Vargas <jvargas@gitlab.com> | 2017-11-07 15:48:11 -0600 |
commit | 4bd90ec31161acbba0febcac51beeece08c1dd5a (patch) | |
tree | 073cf502d4925b14dee78199a39a4db7105fed09 /config/karma.config.js | |
parent | 673b6be1fecedd3a4e7126134f3a764694fcf327 (diff) | |
download | gitlab-ce-4bd90ec31161acbba0febcac51beeece08c1dd5a.tar.gz |
fix karma config filejivl-fix-karma-config-file
Diffstat (limited to 'config/karma.config.js')
-rw-r--r-- | config/karma.config.js | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/config/karma.config.js b/config/karma.config.js index e459f5cdac3..9f018d14b8f 100644 --- a/config/karma.config.js +++ b/config/karma.config.js @@ -67,14 +67,5 @@ module.exports = function(config) { karmaConfig.customLaunchers.ChromeHeadlessCustom.flags.push('--enable-logging', '--v=1'); } - if (process.env.DEBUG) { - karmaConfig.logLevel = config.LOG_DEBUG; - process.env.CHROME_LOG_FILE = process.env.CHROME_LOG_FILE || 'chrome_debug.log'; - } - - if (process.env.CHROME_LOG_FILE) { - karmaConfig.customLaunchers.ChromeHeadlessCustom.flags.push('--enable-logging', '--v=1'); - } - config.set(karmaConfig); }; |