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
I created a directory with mode 0o000. When using node's fs.readdir, an error with code EACCES is thrown but when mocked, it succeeds with ['0'] as result.
I created a directory with mode
0o000
. When using node'sfs.readdir
, an error with codeEACCES
is thrown but when mocked, it succeeds with['0']
as result.I am using OSX Catalina.
Code to reproduce the problem:
When running it on a terminal, I get the following output:
Node.js version:
12.14.1
mock-fs version:
4.11.0
The text was updated successfully, but these errors were encountered: