@@ -384,7 +384,7 @@ describe('glob - withFileTypes', function() {
384384 const actual = await promisified ( pattern , {
385385 cwd : fixtureDir ,
386386 withFileTypes : true ,
387- exclude : common . mustCallAtLeast ( ( dirent ) => assert . ok ( dirent instanceof Dirent ) ) ,
387+ exclude : common . mustCallAtLeast ( ( dirent ) => assert . ok ( dirent instanceof Dirent ) , 0 ) ,
388388 } ) ;
389389 assertDirents ( actual ) ;
390390 assert . deepStrictEqual ( actual . map ( normalizeDirent ) . sort ( ) , expected . filter ( Boolean ) . map ( normalizePath ) . sort ( ) ) ;
@@ -398,7 +398,7 @@ describe('globSync - withFileTypes', function() {
398398 const actual = globSync ( pattern , {
399399 cwd : fixtureDir ,
400400 withFileTypes : true ,
401- exclude : common . mustCallAtLeast ( ( dirent ) => assert . ok ( dirent instanceof Dirent ) ) ,
401+ exclude : common . mustCallAtLeast ( ( dirent ) => assert . ok ( dirent instanceof Dirent ) , 0 ) ,
402402 } ) ;
403403 assertDirents ( actual ) ;
404404 assert . deepStrictEqual ( actual . map ( normalizeDirent ) . sort ( ) , expected . filter ( Boolean ) . map ( normalizePath ) . sort ( ) ) ;
@@ -413,7 +413,7 @@ describe('fsPromises glob - withFileTypes', function() {
413413 for await ( const item of asyncGlob ( pattern , {
414414 cwd : fixtureDir ,
415415 withFileTypes : true ,
416- exclude : common . mustCallAtLeast ( ( dirent ) => assert . ok ( dirent instanceof Dirent ) ) ,
416+ exclude : common . mustCallAtLeast ( ( dirent ) => assert . ok ( dirent instanceof Dirent ) , 0 ) ,
417417 } ) ) actual . push ( item ) ;
418418 assertDirents ( actual ) ;
419419 assert . deepStrictEqual ( actual . map ( normalizeDirent ) . sort ( ) , expected . filter ( Boolean ) . map ( normalizePath ) . sort ( ) ) ;
0 commit comments