Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(38)

Unified Diff: karma.conf.js

Issue 1275053003: Suppress console logs when testing locally (Closed) Base URL: https://github.com/dart-lang/dev_compiler.git@master
Patch Set: Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: karma.conf.js
diff --git a/karma.conf.js b/karma.conf.js
index 6357b791436566bb89cfddfe1ca2baa573325a3d..06e1bb2b9a75306c3e759ff62a682ff942625529 100644
--- a/karma.conf.js
+++ b/karma.conf.js
@@ -41,6 +41,7 @@ module.exports = function(config) {
},
client: {
+ captureConsole: false,
mocha: {
ui: 'tdd'
},
@@ -97,6 +98,7 @@ module.exports = function(config) {
configuration.browsers = ['chrome_canary_travis'];
configuration.autoWatch = false;
configuration.logLevel = config.LOG_DEBUG;
+ configuration.client.captureConsole = true;
}
config.set(configuration);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698