mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 19:15:58 +01:00 
			
		
		
		
	init express/webserver for tests
This commit is contained in:
		| @@ -7,7 +7,9 @@ module.exports = function (db, module) { | ||||
|  | ||||
| 	module.flushdb = function (callback) { | ||||
| 		callback = callback || helpers.noop; | ||||
| 		db.dropDatabase(callback); | ||||
| 		db.dropDatabase(function (err) { | ||||
| 			callback(err); | ||||
| 		}); | ||||
| 	}; | ||||
|  | ||||
| 	module.exists = function (key, callback) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user