make tests finish
database.uninitialize must be called to drop the connection
This commit is contained in:
@@ -109,7 +109,10 @@ describe('apptask', function () {
|
||||
});
|
||||
|
||||
after(function (done) {
|
||||
database._clear(done);
|
||||
async.series([
|
||||
database._clear,
|
||||
database.uninitialize
|
||||
], done);
|
||||
});
|
||||
|
||||
it('initializes succesfully', function (done) {
|
||||
|
||||
Reference in New Issue
Block a user