Skip to content

Commit 738b7ed

Browse files
committed
test: add a test to verify withFileTypes case
add a test with withFileTypes true Fixes: #60936
1 parent 373b9a5 commit 738b7ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parallel/test-fs-readdir-promise-recursive-with-buffer.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,5 @@ const { join } = require('node:path');
1010

1111
const testDirPath = join(__dirname, '..', '..');
1212
readdir(Buffer.from(testDirPath), { recursive: true }).then(common.mustCall());
13+
14+
readdir(Buffer.from(testDirPath), { recursive: true, withFileTypes: true }).then(common.mustCall());

0 commit comments

Comments
 (0)