Skip to content

Commit

Permalink
build: fix karma console log (#3484)
Browse files Browse the repository at this point in the history
Karma recently introduced a breaking change, that **hasn't** been noted (karma-runner/karma#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.
  • Loading branch information
devversion authored and tinayuangao committed Mar 10, 2017
1 parent 11dec36 commit 23ee633
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion test/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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']) {
Expand Down

0 comments on commit 23ee633

Please sign in to comment.