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
When using net.createServer to create a unix domain socket (socket file), it is created in the real file system, even though mock-fs was used. Is there any fix for this?
The text was updated successfully, but these errors were encountered:
mock-fs is not an implementation of file system, it only works in nodejs context by monkey patching some methods. Socket file is probably out of reach.
For your use case, you can try to use a real file system like tmpfs to create a transient file system in ram.
When using net.createServer to create a unix domain socket (socket file), it is created in the real file system, even though mock-fs was used. Is there any fix for this?
The text was updated successfully, but these errors were encountered: