We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
a method like mockFs.dump() would be nice for debugging/inspecting
mockFs.dump()
The text was updated successfully, but these errors were encountered:
You can do this by getting the binding.
binding
Example:
var mockfs = require('mock-fs') var fs = mockfs.fs() var binding = fs.__get__('binding') console.dir(binding._system._root)
Sorry, something went wrong.
As far as I can tell this only works for mockfs.fs, rather than mockfs(). Is that intentional?
This was fixed by @ciaranj in #194 and is included in the mock-fs@4 release.
mock-fs@4
No branches or pull requests
a method like
mockFs.dump()
would be nice for debugging/inspectingThe text was updated successfully, but these errors were encountered: