Node.js based forum software built for the modern web
test: log configJSON
Barış Soner Uşaklı9db90a3098e3
diff --git a/test/mocks/databasemock.js b/test/mocks/databasemock.jsindex e3520378d2..28d2eae236 100644--- a/test/mocks/databasemock.js+++ b/test/mocks/databasemock.js@@ -29,7 +29,8 @@ winston.add(new winston.transports.Console({try {const fs = require('fs');const configJSON = fs.readFileSync(path.join(__dirname, '../../config.json'), 'utf-8');- console.log('configJSON', configJSON);+ winston.info('configJSON');+ winston.info(configJSON);} catch (err) {console.error(err.stack);throw err;