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 to "tap-mocha-reporter" doesn't work #72

Open
ericmorand opened this issue Sep 25, 2018 · 0 comments
Open

Pipe to "tap-mocha-reporter" doesn't work #72

ericmorand opened this issue Sep 25, 2018 · 0 comments

Comments

@ericmorand
Copy link

I'm trying to have tape-run piping its result to tap-mocha-reporter to keep consistency with the rest of the test suite of my project. But it can't make it work whatever I try:

browserify -t [ stringify --extensions [.html .twig] ] test/tests/integration/browser.js | tape-run | tap-mocha-reporter spec

Works but the output lacks the actual/expected report - while it works if I pipe to faucet for example.

browserify -t [ stringify --extensions [.html .twig] ] test/tests/integration/browser.js | tape-run --render="tap-mocha-reporter spec"

Fails, which is expected I guess.

browserify -t [ stringify --extensions [.html .twig] ] test/tests/integration/browser.js | tape-run --render="tap-spec" | tap-mocha-reporter spec

Works, but tap-mocha-reporter formatting is lost.

Is there a way to handle this?

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

No branches or pull requests

2 participants