mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2024-12-17 19:12:33 -05:00
Trying to get rid of debug logs in karma. Tried to do it with the conf, didn't seem to work, did a hack instead.
This commit is contained in:
parent
9697af6b05
commit
69ab177702
2 changed files with 2 additions and 1 deletions
|
@ -2,5 +2,6 @@
|
||||||
// Hooks into the test view logic for running tests.
|
// Hooks into the test view logic for running tests.
|
||||||
|
|
||||||
require('initialize');
|
require('initialize');
|
||||||
|
console.debug = function() {}; // Karma conf doesn't seem to work? Debug messages are still emitted when they shouldn't be.
|
||||||
TestView = require('views/TestView');
|
TestView = require('views/TestView');
|
||||||
TestView.runTests();
|
TestView.runTests();
|
|
@ -43,7 +43,7 @@ module.exports = function(config) {
|
||||||
|
|
||||||
// level of logging
|
// level of logging
|
||||||
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
|
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
|
||||||
logLevel : config.LOG_INFO,
|
logLevel : config.LOG_ERROR, // doesn't seem to work?
|
||||||
|
|
||||||
// enable / disable watching file and executing tests whenever any file changes
|
// enable / disable watching file and executing tests whenever any file changes
|
||||||
autoWatch : true,
|
autoWatch : true,
|
||||||
|
|
Loading…
Reference in a new issue