tschaub / mock-fs

Configurable mock for the fs module
https://npmjs.org/package/mock-fs
Other
911 stars 86 forks source link

rimraf not working #135

Closed nkint closed 8 years ago

nkint commented 8 years ago

Hi! I'm using mock-fs in some tests but I'm not able to execute rimraf (its callback is never called).

This is very annoying because it seems to be a side effect: also without using mock-fs explicitly, just requiring it brokes my rimraf code.

How can I do it?

tschaub commented 8 years ago

If you can provide a simple example that demonstrates your problem, that will make it easier for someone to reproduce any issue you are seeing.

tschaub commented 8 years ago

Please reopen with additional detail (e.g. sample code that reproduces your problem) if you can reproduce this with the latest release.