mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-18 02:20:49 +01:00
test: fix db require blowing up tests
This commit is contained in:
@@ -6,7 +6,6 @@ const databaseName = nconf.get('database');
|
||||
const winston = require('winston');
|
||||
|
||||
if (!databaseName) {
|
||||
winston.error(new Error('stack').stack);
|
||||
winston.error(new Error('Database type not set! Run ./nodebb setup'));
|
||||
process.exit();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user