mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-01-13 13:02:45 +00:00
MOved the brews search to its own file, writing out more tests
This commit is contained in:
@@ -24,5 +24,13 @@ module.exports = {
|
||||
);
|
||||
});
|
||||
},
|
||||
close : ()=>{
|
||||
return new Promise((resolve, reject) => {
|
||||
mongoose.connection.close(()=>{
|
||||
log.info('DB connection closed.');
|
||||
return resolve();
|
||||
});
|
||||
});
|
||||
},
|
||||
instance : mongoose
|
||||
}
|
||||
Reference in New Issue
Block a user