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
Fake-fs as it is, is already quite useful. It would be even more useful if it implemented more of the node fs api.
One of the missing functions is 'createReadStream'.
As a first step it might already be useful to provide a mock implementation that emulates the Stream like interaction without truly needing to support true Streaming.
Fake-fs as it is, is already quite useful. It would be even more useful if it implemented more of the node fs api.
One of the missing functions is 'createReadStream'.
As a first step it might already be useful to provide a mock implementation that emulates the Stream like interaction without truly needing to support true Streaming.
For example something similar to this:
https://github.com/scripted-editor/scripted/blob/dev/server/plugable-fs/scripted-fs.js#L367
The text was updated successfully, but these errors were encountered: