From 9db90a3098e3ddbe3520d67cf127b642bda20a29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bar=C4=B1=C5=9F=20Soner=20U=C5=9Fakl=C4=B1?= Date: Thu, 17 Feb 2022 15:11:24 -0500 Subject: [PATCH] test: log configJSON --- test/mocks/databasemock.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/mocks/databasemock.js b/test/mocks/databasemock.js index 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;