fix(logging): fix tests exiting out of program
This commit is contained in:
parent
1ae3f8de10
commit
121a62b37e
1 changed files with 2 additions and 1 deletions
|
@ -142,5 +142,6 @@ export function fatal(message: string, scope?: ELoggingScope): void {
|
|||
console.log(chalk`{grey (${date})} {red.bold.underline [FATAL]}: {red.underline ${val}}`);
|
||||
});
|
||||
|
||||
if(config.util.getEnv('NODE_CONFIG_ENV') !== 'tests')
|
||||
process.exit(1);
|
||||
}
|
||||
|
|
Reference in a new issue