Skip to content

test: add test cases for `getDirents` and `getDirent` function

Add test case when type is not UV_DIRENT_UNKNOWN for test case of getDirent Add test case when path is a nonexistent path for test case of getDirents and getDirent

This improves the branch coverage of lib/internal/fs/utils.js.

Merge request reports

Loading