Closed marcog83 closed 7 months ago
You are probably affected by this bug fix: https://github.com/streamich/memfs/pull/1024
Thanks for the replay. I' LL update my code to join parh+name then. I wanted to confirm that i was doing the right thing, and not Just something that happened to work 😀
Hi Streammich. We use memfs in our project to manage virtual file-system, and it fit 100% our needs. You saved a lot of headaches :) to our team.
I have this
ViewsManager
Class withgetView
method as belowThen i have a jest test like this. internally
createTree(views)
reduces the array toWhen i run the test with memfs 4.8.0 it works as expected, but if i use latest version 4.9.2 i get this error.
After logging the
item
i see this difference. it seems 4.8.1 includes the entire path inpath
field 4.9.2 doesn't include the last segmentis it expected?