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

@@ -78,7 +78,10 @@ describe('database', function () {
});
after(function (done) {
database._clear(done);
async.series([
database._clear,
database.uninitialize
], done);
});
describe('domains', function () {