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

Don't use console.log in xunit reporter. #1235

Closed
crocket opened this issue Jun 1, 2014 · 1 comment
Closed

Don't use console.log in xunit reporter. #1235

crocket opened this issue Jun 1, 2014 · 1 comment

Comments

@crocket
Copy link

crocket commented Jun 1, 2014

JSON reporter uses process.stdout, but xunit reporter uses console.log.
It causes a problem if one wants to redirect output of mocha to a file.

Please use process.stdout.write instead of console.log in xunit reporter.

@crocket
Copy link
Author

crocket commented Jun 7, 2014

I'm closing this issue because #1218 solves it.

@crocket crocket closed this as completed Jun 7, 2014
tandrewnichols pushed a commit to tandrewnichols/mocha that referenced this issue Dec 15, 2014
Adds the 'glob' dependency stand-in for the browser.
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

1 participant