Remove Karma logger hack which doesn't work with 2.0

This commit is contained in:
Juho Teperi 2018-03-26 14:56:57 +03:00
parent 4cefcdc3a6
commit 65683b6b97
1 changed files with 0 additions and 7 deletions

View File

@ -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;