From 23ee63393f2d75495b93e1d9174a50a9c9324812 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 10 Mar 2017 19:39:01 +0100 Subject: [PATCH] build: fix karma console log (#3484) Karma recently introduced a breaking change, that **hasn't** been noted (https://github.com/karma-runner/karma/issues/2582). Karma doesn't show any `console.log` calls anymore, because the priority order of the `LogLevel`'s has been changed. The default log leve for the `browserConsoleLog` does no longer include the `LOG` log-level. --- test/karma.conf.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/test/karma.conf.js b/test/karma.conf.js index 49c1f7038ac0..c27eafe24f22 100644 --- a/test/karma.conf.js +++ b/test/karma.conf.js @@ -94,7 +94,13 @@ module.exports = (config) => { captureTimeout: 120000, browsers: ['Chrome_1024x768'], - singleRun: false + singleRun: false, + + browserConsoleLogOptions: { + terminal: true, + level: 'log' + } + }); if (process.env['TRAVIS']) {