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 suppressAll option to config #40

Merged
merged 5 commits into from
Mar 24, 2020

Conversation

PVermeer
Copy link
Contributor

Hey David,

Added some code to suppress all messaging from the base reporter. I still had some 'slow' logging popping up double in combination with the mocha reporter.

All other messaging should be configurable by Karma.

Thanks!

@@ -12,6 +12,10 @@ var initReporter = function (karmaConfig, baseReporterDecorator) {

if (karmaConfig.jasmineHtmlReporter) {
const config = karmaConfig.jasmineHtmlReporter;
if (config.suppressAll) {
this.onSpecComplete = () => void 0;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

onSpecComplete handles specFailure so it's not needed here.

@PVermeer PVermeer marked this pull request as ready for review March 24, 2020 13:55
@dfederm dfederm merged commit 248a37e into dfederm:master Mar 24, 2020
@dfederm
Copy link
Owner

dfederm commented Mar 24, 2020

Published v1.5.3

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.

None yet

2 participants