Skip to content

Commit 4c58383

Browse files
committed
test: fix test
1 parent 5e4c8bc commit 4c58383

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/integration/node-specific/mongo_client.test.ts

Lines changed: 1 addition & 1 deletion
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)