fix(backend): don't console log config when running jest
This commit is contained in:
parent
3844d08bdd
commit
b37c296542
@ -75,6 +75,9 @@ updateConfigFromStartArgs(cliArgs);
|
||||
if (!isConfigValid(config, true)) {
|
||||
throw new Error("Config is not valid. Check logs for details");
|
||||
}
|
||||
console.info(util.inspect(config, { showHidden: false, depth: null, colors: true }));
|
||||
|
||||
if (!process.env.JEST_WORKER_ID) {
|
||||
console.info(util.inspect(config, { showHidden: false, depth: null, colors: true }));
|
||||
}
|
||||
|
||||
module.exports = config;
|
||||
|
Loading…
Reference in New Issue
Block a user