Skip to content

Commit 2ee8bbd

Browse files
committed
pr feedback
1 parent 618c3d0 commit 2ee8bbd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/integration/uri-options/uri.test.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,8 @@ describe('URI', function () {
5151

5252
const client = this.configuration.newClient('mongodb://%2Ftmp%2Fmongodb-27017.sock');
5353
await client.connect();
54-
await client.close();
54+
const err = await client.close().catch(e => e);
55+
expect(err).to.not.exist;
5556
}
5657
});
5758

0 commit comments

Comments
 (0)