Skip to content

Commit c828aab

Browse files
author
Jessica Lord
committed
fix(mongo client): close client before calling done
1 parent 9c3c9f9 commit c828aab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/functional/mongo_client_tests.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -423,8 +423,8 @@ describe('MongoClient', function() {
423423
MongoClient.connect('user:password@localhost:27017/test', function(err, client) {
424424
test.notEqual(err, null);
425425
test.notEqual(err, undefined);
426-
done();
427426
client.close();
427+
done();
428428
});
429429
}
430430
});

0 commit comments

Comments
 (0)