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

Added options object to be able to overwrite logging #36

Merged
merged 3 commits into from
Feb 3, 2020

Conversation

PVermeer
Copy link
Contributor

@PVermeer PVermeer commented Feb 3, 2020

Issue: In combination with 'karma-mocha-reporter' it is not possible to suppress the failure messages from 'karma-jasmine-html-reporter' completely. They would show up in between the nicely styled mocha-reporter.

Fix: added an options object for the karma config to suppress failure messages. This can be expanded with more settings if someone has a need.

Should be fully backward compatible.

Also updated the Readme.


jasmineHtmlReporter: {
// Suppress failed messages (e.g. in combination with karma-mocha-reporter)
suppressFailed: true
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fear this will be copy/pasted even for people not using karma-mocha-reporter. Can you add a 2nd example specifically for karma-mocha-reporter to avoid this? Also, your reporters list doesn't actually list karma-mocha-reporter

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes you are correct, will do.

@PVermeer PVermeer requested a review from dfederm February 3, 2020 18:06
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 this pull request may close these issues.

2 participants