Skip to content

Commit

Permalink
test: quick test fix re: #9046
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Sep 5, 2022
1 parent b3c31f1 commit 1fb268e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/connection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -885,7 +885,7 @@ describe('connections:', function() {
return Model.create({ name: 'test' });
});

it('throws a MongooseServerSelectionError on server selection timeout (gh-8451)', () => {
it('throws a MongooseServerSelectionError on server selection timeout (gh-8451)', function() {
if (typeof Deno !== 'undefined') {
// In Deno dns throws an uncatchable error here.
return this.skip();
Expand Down

0 comments on commit 1fb268e

Please sign in to comment.