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

Support for multiple reporters #120

Closed
benhughes opened this issue Feb 28, 2017 · 2 comments
Closed

Support for multiple reporters #120

benhughes opened this issue Feb 28, 2017 · 2 comments

Comments

@benhughes
Copy link

If I run mocha-webpack with two reporters --reporter mocha-junit-reporter --reporter spec I get

Error: Duplicating arguments for "--reporter" is not allowed. "--reporter mocha-junit-reporter --reporter spec" was provided, but expected "--reporter mocha-junit-reporter"

seems an overlooked feature as I need to be able to run mocha-junit-reporter and also use the basic spec reporter otherwise I'm not told what test has failed in the command line output.

@zinserjan
Copy link
Owner

Mocha doesn't support multi reporters, but there is an open PR for that mochajs/mocha#2184.

Can you try to use a workaround until this as merged like mocha-multi or something similiar?

@benhughes
Copy link
Author

OK I'll close this then as it's not an issue with mocha webpack. Thanks

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