Skip to content

Commit

Permalink
fix(mongo client): close client before calling done
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Lord committed Nov 20, 2017
1 parent 9c3c9f9 commit c828aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/functional/mongo_client_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -423,8 +423,8 @@ describe('MongoClient', function() {
MongoClient.connect('user:password@localhost:27017/test', function(err, client) {
test.notEqual(err, null);
test.notEqual(err, undefined);
done();
client.close();
done();
});
}
});
Expand Down

0 comments on commit c828aab

Please sign in to comment.