BadIdeaException
BadIdeaException
@G-Rath This is fixed in 4.12.0. This issue can be closed now, as well as #1052.
Yes, we do: [openSync.test.ts](https://github.com/streamich/memfs/blob/5460fce836c323ee96a4caeaedcbe1fb10cd4318/src/__tests__/volume/openSync.test.ts#L10) tests this exact scenario.
@G-Rath This is fixed in 4.12.0. This issue can be closed now.
Hmm, you're right. I didn't read closely enough. This is only fixed for _creating_ a file, where [openSync.test.ts](https://github.com/streamich/memfs/blob/5460fce836c323ee96a4caeaedcbe1fb10cd4318/src/__tests__/volume/openSync.test.ts#L10) tests that the correct error is thrown. (NB: [mkdirSync.test.ts](https://github.com/streamich/memfs/blob/5460fce836c323ee96a4caeaedcbe1fb10cd4318/src/__tests__/volume/mkdirSync.test.ts#L121) tests the analogous...
Hi, is there any news on this? Is there anything I can do to help? It's completely blocking my project as is.
Hi, thanks for your answer and sorry for the delay. I can confirm that it works with `registerHooks`. Anyone know if that is intended behavior?
Thanks for the suggestion, but I don't think that's it: 1. It works when I replace `require('node:fs')` with `require('fs')`, without changing the contents of `fs-mock.mjs`. It evens works when I...
> I have a fix Nice :+1: I hope that gets merged soon, then.