[eslint] fix no-unused-vars violations

This commit is contained in:
spalger
2018-05-14 12:16:03 -07:00
parent 898913545a
commit f493527dc4
22 changed files with 93 additions and 117 deletions

View File

@ -17,11 +17,13 @@ describe('Connection Abstract', function () {
it('requires a valid host', function () {
expect(function () {
var conn = new ConnectionAbstract();
// eslint-disable-next-line no-new
new ConnectionAbstract();
}).to.throwError(TypeError);
expect(function () {
var conn = new ConnectionAbstract({});
// eslint-disable-next-line no-new
new ConnectionAbstract({});
}).to.throwError(TypeError);
});