Skip to content

Commit

Permalink
respond to comments
Browse files Browse the repository at this point in the history
  • Loading branch information
HanaPearlman committed Oct 14, 2020
1 parent f7ca2ff commit 9f31a73
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions test/functional/connection.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -275,8 +275,9 @@ describe('Connection', function () {
}
});

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

const collection = () => client.db('testReconnect').collection('test');
Expand All @@ -299,6 +300,6 @@ describe('Connection', function () {
});
});
});
});
});
})
);
});

0 comments on commit 9f31a73

Please sign in to comment.