[eslint] remove exception for new-cap, fix violations

This commit is contained in:
spalger
2017-06-14 19:11:39 -07:00
parent d50eea6d6f
commit f4e4cf7358
4 changed files with 3 additions and 4 deletions

View File

@ -36,7 +36,7 @@ describe('Client instances creation', function () {
it('inherits the ' + prev + ' API when specified', function () {
client.close();
client = es.Client({
client = new es.Client({
apiVersion: prev
});
expect(client.bulk).to.be(apis[prev].bulk);