mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
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.
This commit is contained in:
committed by
tinayuangao
parent
11dec367ba
commit
23ee63393f
+7
-1
@@ -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']) {
|
||||
|
||||
Reference in New Issue
Block a user