We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7ca2ff commit c5e0309Copy full SHA for c5e0309
test/functional/connection.test.js
@@ -275,8 +275,9 @@ describe('Connection', function () {
275
}
276
});
277
278
- it('should be able to connect again after close', function () {
279
- return withClient.bind(this)((client, done) => {
+ it(
+ 'should be able to connect again after close',
280
+ withClient(function (client, done) {
281
expect(client.isConnected()).to.be.true;
282
283
const collection = () => client.db('testReconnect').collection('test');
@@ -299,6 +300,6 @@ describe('Connection', function () {
299
300
301
302
- });
303
+ })
304
+ );
305
0 commit comments