mirror of https://github.com/status-im/reagent.git
Remove Karma logger hack which doesn't work with 2.0
This commit is contained in:
parent
4cefcdc3a6
commit
65683b6b97
|
@ -8,17 +8,10 @@
|
|||
|
||||
var path = require('path');
|
||||
|
||||
// Doo writes this file to /tmp, so can't use relative require directly
|
||||
var logger = require(process.cwd() + '/node_modules/karma/lib/logger.js');
|
||||
|
||||
module.exports = function(config) {
|
||||
|
||||
var suite = path.basename(process.cwd());
|
||||
|
||||
// Hide two unncessary warnings
|
||||
logger.create('web-server', 'error');
|
||||
logger.create('watcher', 'error');
|
||||
|
||||
configData.plugins = ['karma-*'];
|
||||
|
||||
configData.logLevel = config.LOG_WARN;
|
||||
|
|
Loading…
Reference in New Issue