Skip to content

fs/promises test coverage is poor. #20435

@ChALkeR

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

Metadata

Metadata

Assignees

Labels

experimentalIssues and PRs related to experimental features.fsIssues and PRs related to the fs subsystem / file system.promisesIssues and PRs related to ECMAScript promises.testIssues and PRs related to the tests.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions