Skip to content
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

mock-fs does not work with node 0.11.15 #17

Closed
mlegenhausen opened this issue Jan 21, 2015 · 1 comment · Fixed by #20
Closed

mock-fs does not work with node 0.11.15 #17

mlegenhausen opened this issue Jan 21, 2015 · 1 comment · Fixed by #20

Comments

@mlegenhausen
Copy link
Contributor

Test file test.js:

const mock = require('mock-fs');
const fs = require('fs');

fs.createReadStream('test.js');

Throws:

Assertion failed: (object->InternalFieldCount() > 0), function Wrap, file ../src/util-inl.h, line 106.
[1]    6085 abort      node test.js
@mlegenhausen
Copy link
Contributor Author

Should be version 0.11.15 and 0.11.16 supported too? If so, the version system should be able to support more than minor versions. Maybe the node-semver module can solve the problem for all future versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant