summaryrefslogtreecommitdiff
path: root/config/karma.config.js
diff options
context:
space:
mode:
authorMike Greiling <mike@pixelcog.com>2017-06-13 12:37:36 -0500
committerMike Greiling <mike@pixelcog.com>2017-06-14 04:07:21 -0500
commit413f7d314d8c13bc53763ccf2fc528f98a8bf237 (patch)
treead9c74c6ab492286d5004e43f3898f8558d16389 /config/karma.config.js
parent86a2d9bf8f077de8e1ec7ccad2fea3bbef9d2479 (diff)
downloadgitlab-ce-413f7d314d8c13bc53763ccf2fc528f98a8bf237.tar.gz
force chrome to produce debug output as it runs in CI
Diffstat (limited to 'config/karma.config.js')
-rw-r--r--config/karma.config.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/karma.config.js b/config/karma.config.js
index 8b2950b4496..cfb0a0cb101 100644
--- a/config/karma.config.js
+++ b/config/karma.config.js
@@ -21,7 +21,14 @@ module.exports = function(config) {
var karmaConfig = {
basePath: ROOT_PATH,
- browsers: ['ChromeHeadless'],
+ browsers: ['ChromeDebug'],
+ customLaunchers: {
+ ChromeDebug: {
+ base: 'ChromeHeadless',
+ flags: ['--enable-logging', '--v=1'],
+ displayName: 'Chrome'
+ }
+ },
frameworks: ['jasmine'],
files: [
{ pattern: 'spec/javascripts/test_bundle.js', watched: false },
@@ -33,6 +40,7 @@ module.exports = function(config) {
reporters: [progressReporter],
webpack: webpackConfig,
webpackMiddleware: { stats: 'errors-only' },
+ logLevel: config.LOG_DEBUG,
};
if (process.env.BABEL_ENV === 'coverage' || process.env.NODE_ENV === 'coverage') {