Skip to content

test: mock-fs does not work as expected for Node >20.4 #61

@stennie

Description

@stennie

mock-fs is currently used for test/generator/local.js. Tests pass in Node 20.4 and earlier, but fail in more recent versions of Node.

Possible related to: tschaub/mock-fs#377

Since this is a very limited use case, I think it could be resolved by either:

  • creating a sample directory to avoid the need for monkey patching core fs behaviour
  • using memfs or an alternative package

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions