-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
EBADF reading directory with readFileSync() #285
Comments
Sorry, reading through the NodeJS API docs for |
There is still a small mismatch, Nodejs fails |
The attached mocha test will fail with
Error: EBADF: bad file descriptor, read
.While searching the issues I noticed some relating to graceful-fs - while it's technically in my node_modules dependency tree, I don't believe it's loaded during the test. I think it's only used for the vscode eslint extension.
This is on macOS 10.15.2, Node 12.14.0, mock-fs 4.10.4.
The text was updated successfully, but these errors were encountered: