File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 block-scoped-var : error
1212 eqeqeq : error
1313 no-warning-comments : warn
14+ no-var : error
Original file line number Diff line number Diff line change @@ -188,8 +188,8 @@ describe('Session', function() {
188188 } ) ;
189189
190190 describe ( 'beginTransaction' , function ( ) {
191- var TRANSACTION ;
192- var RESPONSE ;
191+ let TRANSACTION ;
192+ let RESPONSE ;
193193
194194 beforeEach ( function ( ) {
195195 TRANSACTION = { begin : util . noop } ;
@@ -198,7 +198,7 @@ describe('Session', function() {
198198 } ) ;
199199
200200 it ( 'should pass the transaction options' , function ( done ) {
201- var OPTIONS = { } ;
201+ let OPTIONS = { } ;
202202
203203 session . transaction = function ( options ) {
204204 assert . strictEqual ( options , OPTIONS ) ;
@@ -222,7 +222,7 @@ describe('Session', function() {
222222 } ) ;
223223
224224 it ( 'should return any api errors' , function ( done ) {
225- var ERROR = new Error ( 'err' ) ;
225+ let ERROR = new Error ( 'err' ) ;
226226
227227 TRANSACTION . begin = function ( callback ) {
228228 callback ( ERROR , RESPONSE ) ;
You can’t perform that action at this time.
0 commit comments