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

[Feature request] Add an option to mute console logs #15

Closed
Finesse opened this issue Oct 8, 2020 · 3 comments
Closed

[Feature request] Add an option to mute console logs #15

Finesse opened this issue Oct 8, 2020 · 3 comments

Comments

@Finesse
Copy link

Finesse commented Oct 8, 2020

I use karma-summary-reporter together with karma-spec-reporter as you suggest. Unfortunately both the reporters print messages produced by console.log() calls in tests, therefore the console messages are duplicated.

Since your reporter is designed for summary, I request an option to mute the live process logs to solve the duplications.

@sth
Copy link
Owner

sth commented Oct 8, 2020

Makes sense. I think I'll even go one step further and simply remove the console log for this reporter. Since the reporter doesn't even show any details about test failures it doesn't make much sense to show log messages and similar output.

As you say, it is recommended to use a second reporter to see all the details. That reporter will usually show all the messages and duplicating them isn't useful.

@sth sth closed this as completed in f5c425a Oct 9, 2020
@Finesse
Copy link
Author

Finesse commented Oct 9, 2020

Thank you! Looking forward for an NPM release

@sth
Copy link
Owner

sth commented Oct 9, 2020

Published as v1.9.0 🎉

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