Skip to content

Commit

Permalink
test(mongodb+srv): add missing expectation for no errors on parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
mbroadst committed Aug 24, 2018
1 parent da86490 commit 771e555
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/functional/mongodb_srv_tests.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ function getTests() {
describe('mongodb+srv (spec)', function() {
it('should parse a default database', function(done) {
parse('mongodb+srv://test5.test.build.10gen.cc/somedb', (err, result) => {
expect(err).to.not.exist;
expect(result.dbName).to.eql('somedb');
done();
});
Expand Down

0 comments on commit 771e555

Please sign in to comment.