Commit 41bd47e0 authored by Jure's avatar Jure

test: don't use deferred config in tests

parent 69a43f9b
Pipeline #9079 passed with stages
in 12 minutes and 13 seconds
const logger = require('winston')
const { deferConfig } = require('config/defer')
module.exports = {
'pubsweet-server': {
db: { database: 'test' },
logger,
port: 4000,
baseUrl: deferConfig(
cfg => `http://localhost:${cfg['pubsweet-server'].port}`,
),
baseUrl: 'http://localhost:4000',
secret: 'test',
},
mailer: {
......
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