Skip to content

Conversation

@spotandjake
Copy link
Member

This pr tires to enable our fs.test.gr suite to test the fs module in the stdlib.

Some notes:

  • Tests will fail on this due to an upstream uvwasi issue that isn't patched until node v24
  • It's still unclear to me why removing a directory is returning OperationNotPermitted instead of IsADirectory like it should be.
  • I don't love how this test suite is written, it would be nice if we wrote all temporary files to a tempTestDir and only read from the testDir to make cleanup easier.

This is a draft due to the notes above.

Closes: #2320

This pr tires to enable our `fs.test.gr` suite to test the fs module in the stdlib.

Some notes:
* Tests will fail on this due to an upstream [uvwasi issue](nodejs/node#47193) that isn't patched until node `v24`
* It's still unclear to me why removing a directory is returning `OperationNotPermitted` instead of `IsADirectory` like it should be.
* I don't love how this test suite is written, it would be nice if we wrote all temporary files to a `tempTestDir` and only read from the `testDir` to make cleanup easier.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable fs.test.gr in stdlib test suite.

1 participant