Closed chadlwilson closed 8 months ago
@chadlwilson Thank you for contributing to gauge-js. Your pull request has been labeled as a release candidate 🎉🎉.
Merging this PR will trigger a release.
Instructions to bump the version can found at CONTRIBUTING.md
If the CONTRIBUTING.md file does not exist or does not include instructions about bumping up the version, please looks previous commits in git history to see what changes need to be done.
mock-fs performs deep mocking on node/fs internals which seems to be rather brittle. And it's broken on Node 20.8.0+ right now.
Based on the changelog at https://github.com/nodejs/node/blob/main/doc/changelogs/CHANGELOG_V20.md#2023-09-28-version-2080-current-ruyadorno , I am guessing it's some of the changes such as https://github.com/nodejs/node/pull/49593 or https://github.com/nodejs/node/pull/49691
Replaced here with
mock-tmp
, a simple library that keeps roughly the same API asmock-fs
for ease of migration, but uses real files on the filesystem.