Skip to content

fs/promises test coverage is poor. #20435

Description

@ChALkeR

Experimental fs/promises API is present in the current master without 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 lchown should probably be landed after #20407 as that method is currently broken (until #20407 lands).

/cc @mscdex @davisjam @nodejs/testing

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

experimentalIssues and PRs related to experimental features.fsIssues and PRs related to file-system APIs and the fs module.promisesIssues and PRs related to ECMAScript promises.testIssues and PRs related to Node.js core tests and test infrastructure.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions