You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
correctly produces a folder called foo containing folder called bar containing a file called baz in the mocked file system. However, when using an absolute path as the parent
mockfs({
'/foo': // Notice the leading slash
'bar/baz': ''
}
});
I get a (top-level) folder /foo, that contains a file called bar/baz. I would have expected a folder named barwith a file named baz.
It appears that key names are not getting correctly parsed when inside an absolute parent folder.
The text was updated successfully, but these errors were encountered:
The following:
correctly produces a folder called
foo
containing folder calledbar
containing a file calledbaz
in the mocked file system. However, when using an absolute path as the parentI get a (top-level) folder
/foo
, that contains a file calledbar/baz
. I would have expected a folder namedbar
with a file namedbaz
.It appears that key names are not getting correctly parsed when inside an absolute parent folder.
The text was updated successfully, but these errors were encountered: