-
-
Notifications
You must be signed in to change notification settings - Fork 35.3k
fs/promises test coverage is poor. #20435
Copy link
Copy link
Closed
Labels
experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.testIssues and PRs related to the tests.Issues and PRs related to the tests.
Metadata
Metadata
Assignees
Labels
experimentalIssues and PRs related to experimental features.Issues and PRs related to experimental features.fsIssues and PRs related to the fs subsystem / file system.Issues and PRs related to the fs subsystem / file system.promisesIssues and PRs related to ECMAScript promises.Issues and PRs related to ECMAScript promises.testIssues and PRs related to the tests.Issues and PRs related to the tests.
Experimental
fs/promisesAPI is present in the currentmasterwithout proper test coverage.According to the coverage report, the following functions are not tested at all:
fd.chown,fd.datasync,fd.sync,fd.truncate,fd.utimes,truncate,readlink,symlink,lstat,lchmod,lchown,fchown,chown,realpath.#19811 adds a few tests, but that's still not near being complete even after that lands.
Note that tests for
lchownshould probably be landed after #20407 as that method is currently broken (until #20407 lands)./cc @mscdex @davisjam @nodejs/testing