[eslint] remove exception for no-var, fix violations

This commit is contained in:
spalger
2017-06-14 18:56:26 -07:00
parent 3d75c6ff0f
commit 058569d4f8
11 changed files with 21 additions and 17 deletions

View File

@ -722,6 +722,7 @@ describe('Transport Class', function () {
});
const con = getConnection(tran);
let ret; // eslint-disable-line prefer-const
stub(con, 'request', function () {
process.nextTick(function () {
ret.abort();
@ -731,7 +732,7 @@ describe('Transport Class', function () {
};
});
var ret = tran.request({});
ret = tran.request({});
});
it('ignores the response from the connection when the connector does not support aborting', function (done) {
const tran = new Transport({