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

Is it possible to redirect the output of tape in the browser to a stream? #63

Closed
Bockit opened this issue Feb 17, 2014 · 1 comment · Fixed by #65
Closed

Is it possible to redirect the output of tape in the browser to a stream? #63

Bockit opened this issue Feb 17, 2014 · 1 comment · Fixed by #65

Comments

@Bockit
Copy link
Contributor

Bockit commented Feb 17, 2014

I'd like to redirect tap output without hooking into console.log if possible, and I saw in the createHarness a reference to a test.stream object. Nothing I tried was able to get a handle to the stream so I'm wondering if it's an old feature that was removed?

@Bockit
Copy link
Contributor Author

Bockit commented Feb 24, 2014

var test = require('tape').createHarness()
test.createStream().pipe(someWriteable)

Where someWriteable could be a concat stream, for example, to then pass through tap-parse.

Bockit pushed a commit to Bockit/tape that referenced this issue Feb 24, 2014
@ghost ghost closed this as completed in #65 Feb 24, 2014
This issue was closed.
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