Open dicolasi opened 2 months ago
This is actually a nice feature to have! I am having the exactly same use case.
I can implement this feature in a PR if maintainers approve it.
@SukkaW that would be great!
Hi 🙂 I'd be happy to review and approve a PR. Just to be sure though. The code in the issue is in JS while memFS uses Ruby. Du you use memFS with JS?
Hi all, I am in the process of replacing mock-fs with mem-fs due to its lack of support for node 20.X. I am struggling to get mem-fs working in this simple case:
Here the original test case with mock-fs:
and here the refactored one with mem-fs that does not work:
the method loadIntoMockFS is here:
I am not sure I actually need the
loadIntoMockFS
method at all. The test fail since the folderexchange-config
cannot be found (but if I print vol.tree I can definitely see it).I am sure I am missing something stupid here :)