Closed not-an-aardvark closed 7 years ago
+1. Happens during normal file reading as well. I can't isolate to a particular event, but while looping over a list of files it just errors in the middle.
I made a PR to fix this in #198.
That fixed my problem. Thanks!
Fix released in mock-fs@4.2
. Thanks @not-an-aardvark.
Using
mock-fs@4.1.0
, Node 7.7.1This returns stats as expected, but then throws an error on the next tick.
This is probably caused by https://github.com/nodejs/node/pull/11522.