Skip to content

Safely silence console messages by spying on console.{warn,error} #197

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

Conversation

benjamn
Copy link
Contributor

@benjamn benjamn commented Jul 16, 2013

This eliminates all spurious console messages in grunt test, thanks to a great suggestion from @petehunt.

@benjamn
Copy link
Contributor Author

benjamn commented Jul 16, 2013

Submitted an upstream patch for this (meant to be identical).

This eliminates *all* spurious console messages in `grunt test`, thanks to
a great suggestion from @petehunt.
@zpao
Copy link
Member

zpao commented Jul 18, 2013

I merged the upstream (75ce576) because I wasn't sure if this had diverged and I was too lazy to check. But with real authors, it's ok!

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