Skip to content

Commit 61e2e41

Browse files
committed
test: fix test
1 parent 9799d79 commit 61e2e41

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: test/integration/node-specific/mongo_client.test.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -184,7 +184,7 @@ describe('class MongoClient', function () {
184184
const options = { keepAliveInitialDelay: -100 };
185185

186186
it('raises an error', function () {
187-
expect(async () => {
187+
expect(() => {
188188
this.configuration.newClient(options);
189189
}).to.throw(/keepAliveInitialDelay can only be a positive int value/);
190190
});

0 commit comments

Comments
 (0)