@@ -34,7 +34,8 @@ t.test('basic', t => {
3434 t . test ( 'file maxReadSize=' + maxReadSize , t => {
3535 t . test ( 'sync' , t => {
3636 const actual : string [ ] = [ ]
37- const onReadEntry = ( entry : ReadEntry ) => actual . push ( entry . path )
37+ const onReadEntry = ( entry : ReadEntry ) =>
38+ actual . push ( entry . path )
3839 list ( {
3940 file : file ,
4041 sync : true ,
@@ -46,7 +47,8 @@ t.test('basic', t => {
4647
4748 t . test ( 'async promise' , async t => {
4849 const actual : string [ ] = [ ]
49- const onReadEntry = ( entry : ReadEntry ) => actual . push ( entry . path )
50+ const onReadEntry = ( entry : ReadEntry ) =>
51+ actual . push ( entry . path )
5052 return await list ( {
5153 file,
5254 onReadEntry,
@@ -56,7 +58,8 @@ t.test('basic', t => {
5658
5759 t . test ( 'async cb' , t => {
5860 const actual : string [ ] = [ ]
59- const onReadEntry = ( entry : ReadEntry ) => actual . push ( entry . path )
61+ const onReadEntry = ( entry : ReadEntry ) =>
62+ actual . push ( entry . path )
6063 list (
6164 {
6265 file : file ,
@@ -79,15 +82,17 @@ t.test('basic', t => {
7982 t . test ( 'stream' , t => {
8083 t . test ( 'sync' , t => {
8184 const actual : string [ ] = [ ]
82- const onReadEntry = ( entry : ReadEntry ) => actual . push ( entry . path )
85+ const onReadEntry = ( entry : ReadEntry ) =>
86+ actual . push ( entry . path )
8387 const l = list ( { sync : true , onReadEntry } )
8488 l . end ( fs . readFileSync ( file ) )
8589 return check ( actual , t )
8690 } )
8791
8892 t . test ( 'async' , t => {
8993 const actual : string [ ] = [ ]
90- const onReadEntry = ( entry : ReadEntry ) => actual . push ( entry . path )
94+ const onReadEntry = ( entry : ReadEntry ) =>
95+ actual . push ( entry . path )
9196 const l = list ( )
9297 l . on ( 'entry' , onReadEntry )
9398 l . on ( 'end' , _ => check ( actual , t ) . then ( _ => t . end ( ) ) )
@@ -130,7 +135,8 @@ t.test('basic', t => {
130135 t . test ( 'no filter function, stream' , t => {
131136 const check = ( ) => t . same ( actual , expect )
132137 const actual : string [ ] = [ ]
133- const onReadEntry = ( entry : ReadEntry ) => actual . push ( entry . path )
138+ const onReadEntry = ( entry : ReadEntry ) =>
139+ actual . push ( entry . path )
134140 fs . createReadStream ( file ) . pipe (
135141 list ( fileList )
136142 . on ( 'entry' , onReadEntry )
0 commit comments