make tests finish

database.uninitialize must be called to drop the connection
This commit is contained in:
Girish Ramakrishnan
2017-11-27 11:48:36 -08:00
parent b6c20877ea
commit efe75f0c4e
14 changed files with 62 additions and 29 deletions

View File

@@ -67,7 +67,10 @@ function setup(done) {
}
function cleanup(done) {
database._clear(done);
async.series([
database._clear,
database.uninitialize
], done);
}
describe('Groups', function () {