Skip to content

Commit 9f31a73

Browse files
committed
respond to comments
1 parent f7ca2ff commit 9f31a73

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

test/functional/connection.test.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -275,8 +275,9 @@ describe('Connection', function () {
275275
}
276276
});
277277

278-
it('should be able to connect again after close', function () {
279-
return withClient.bind(this)((client, done) => {
278+
it(
279+
'should be able to connect again after close',
280+
withClient(function (client, done) {
280281
expect(client.isConnected()).to.be.true;
281282

282283
const collection = () => client.db('testReconnect').collection('test');
@@ -299,6 +300,6 @@ describe('Connection', function () {
299300
});
300301
});
301302
});
302-
});
303-
});
303+
})
304+
);
304305
});

0 commit comments

Comments
 (0)