Adds console transport when testing with VERBOSE=1
This commit is contained in:
@@ -27,7 +27,7 @@ function generateTransports() {
|
||||
level: 'error'
|
||||
})
|
||||
]
|
||||
if (!process.env.TESTING) {
|
||||
if (!process.env.TESTING || process.env.VERBOSE) {
|
||||
transports = [new (winston.transports.Console)({
|
||||
colorize: true,
|
||||
level:level
|
||||
|
||||
Reference in New Issue
Block a user