Commit 953cc81a authored by Jure's avatar Jure
Browse files

fix: use stdout for logger in test

parent 10fccadf
Pipeline #5113 passed with stages
in 10 minutes and 41 seconds
const winston = require('winston')
const logger = require('winston')
const { deferConfig } = require('config/defer')
const logger = new winston.Logger({
transports: [
new winston.transports.Console({
level: process.env.DEBUG ? 'debug' : 'warn',
}),
],
})
module.exports = {
'pubsweet-server': {
db: { database: 'test' },
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment