File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ const valid = require('./fixtures/har/valid')
88const validate = require ( '../lib/async' )
99
1010tap . test ( 'async' , assert => {
11- let keys = Object . keys ( schemas ) . filter ( key => key !== 'default' )
11+ const keys = Object . keys ( schemas ) . filter ( key => key !== 'default' )
1212
1313 assert . plan ( keys . length )
1414
@@ -20,7 +20,7 @@ tap.test('async', assert => {
2020tap . test ( 'failure' , assert => {
2121 assert . plan ( 4 )
2222
23- let error = new HARError ( [ { dataPath : '.log.version' , message : 'should be string' } ] )
23+ const error = new HARError ( [ { dataPath : '.log.version' , message : 'should be string' } ] )
2424
2525 assert . notOk ( validate . har ( { } ) , 'should fail' )
2626
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ const tap = require('tap')
77const validate = require ( '../lib/promise' )
88
99tap . test ( 'promises' , assert => {
10- let keys = Object . keys ( schemas ) . filter ( ( key ) => key !== 'default' )
10+ const keys = Object . keys ( schemas ) . filter ( ( key ) => key !== 'default' )
1111
1212 assert . plan ( ( keys . length * 2 ) + 2 )
1313
You can’t perform that action at this time.
0 commit comments