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

Pipe error handling (write EPIPE) #136

Closed
icetbr opened this issue Feb 3, 2022 · 2 comments
Closed

Pipe error handling (write EPIPE) #136

icetbr opened this issue Feb 3, 2022 · 2 comments

Comments

@icetbr
Copy link

icetbr commented Feb 3, 2022

Hi, I think you might have mentioned this somewhere. It works fine with pta.

Running

nodemon test/index.js | tap-spec
test(`drawCard`, ({ eq }) => eq(drawCard(

where drawCard is not defined, I get

Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
@icetbr
Copy link
Author

icetbr commented Feb 4, 2022

On further experimentations, it depends on the reporter.

tap-spec FAILS because of

var parser = require('tap-out');

where tap-difflet WORKS because of

var parser    = require('tap-parser-yaml');

@icetbr icetbr closed this as completed Feb 4, 2022
@lorenzofox3
Copy link
Owner

Thanks. I was about to tell, it depends on how the reporter handles bailout message

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

No branches or pull requests

2 participants