Skip to content
Snippets Groups Projects
Commit fb1ac493 authored by Jure's avatar Jure
Browse files

test(server): remove logger from test config

parent e9da7a9a
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
"scripts": { "scripts": {
"clean": "lerna clean", "clean": "lerna clean",
"styleguide": "npm run --prefix packages/styleguide styleguide", "styleguide": "npm run --prefix packages/styleguide styleguide",
"test": "jest --no-cache --coverage --detectOpenHandles", "test": "jest --no-cache --coverage --detectOpenHandles --silent",
"lint": "npm run lint:js && npm run lint:style && npm run lint:json", "lint": "npm run lint:js && npm run lint:style && npm run lint:json",
"lint:js": "eslint 'packages/**/*.{js,jsx}'", "lint:js": "eslint 'packages/**/*.{js,jsx}'",
"lint:style": "stylelint 'packages/**/*.{css,scss}'", "lint:style": "stylelint 'packages/**/*.{css,scss}'",
......
const path = require('path') const path = require('path')
const winston = require('winston')
module.exports = { module.exports = {
'pubsweet-server': { 'pubsweet-server': {
...@@ -9,10 +8,6 @@ module.exports = { ...@@ -9,10 +8,6 @@ module.exports = {
}, },
pool: { min: 0, max: 10, idleTimeoutMillis: 1000 }, pool: { min: 0, max: 10, idleTimeoutMillis: 1000 },
ignoreTerminatedConnectionError: true, ignoreTerminatedConnectionError: true,
logger: new winston.Logger({
level: 'warn',
transports: [new winston.transports.Console()],
}),
enableExperimentalGraphql: true, enableExperimentalGraphql: true,
port: 4000, port: 4000,
secret: 'test', secret: 'test',
......
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