From e123fee7b41f18f47c03ada42b86bdfe946f976c Mon Sep 17 00:00:00 2001 From: Tanguy Krotoff Date: Tue, 27 Oct 2015 15:11:32 +0100 Subject: [PATCH] Test logLevel configuration option --- karma/karma-tests.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/karma/karma-tests.ts b/karma/karma-tests.ts index 04f1c4934..7dbd533b5 100644 --- a/karma/karma-tests.ts +++ b/karma/karma-tests.ts @@ -30,7 +30,7 @@ karma.runner.run({port: 9876}, (exitCode: number) => { //var Server = require('karma').Server; => cannot use this syntax otherwise Server is of type any -var server = new karma.Server({port: 9876}, function(exitCode: number) { +var server = new karma.Server({logLevel: 'debug', port: 9876}, function(exitCode: number) { console.log('Karma has exited with ' + exitCode); process.exit(exitCode); }); @@ -57,6 +57,7 @@ var captured: boolean = karma.launcher.areAllCaptured(); // Example of configuration file karma.conf.ts, see http://karma-runner.github.io/0.13/config/configuration-file.html module.exports = function(config: karma.Config) { config.set({ + logLevel: config.LOG_DEBUG, basePath: '..', urlRoot: '/base/', frameworks: ['jasmine'],