-
Notifications
You must be signed in to change notification settings - Fork 85
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
tape stops logging when using mock-fs #201
Comments
Thanks for the report @nemoxps. |
There is a bug using mock-fs + tape together on Windows: tschaub/mock-fs#201 So Windows tests cannot work for now.
This bit me today (in Windows, not on Mac or *nix), any thoughts on how we might approach a fix? |
Here is one approach: 80d318f. This only works for stdin/out/err streams connected to a text terminal. For non-TTY environments, the process never exits – I didn't spend enough time to figure it out, but maybe someone else can. There are likely other ways to bypass the mock filesystem for the special 0, 1, and 2 file descriptors. |
I'm back because I was once again bitten by this bug! (lol) No opinion on that specific fix but in theory I'm happy to help write some tests around this. |
I have also been bit by this bug 🙈 Same here, I am not familiar enough with mock-fs internals to say which approach should be taken, but for what it is worth, the |
Friendly bump 😄 |
See how things go with |
Awesome, thanks so much @tschaub ! Works great for us over in the @architect project! |
Take a look at tape-testing/tape#354.
The text was updated successfully, but these errors were encountered: