magento-research / peregrine

(Defunct) Moved to https://github.com/magento-research/pwa-studio
Open Software License 3.0
29 stars 1 forks source link

Don't quiet the console everywhere #22

Closed DrewML closed 6 years ago

DrewML commented 6 years ago

In #11, my original implementation only made the console quiet in Peregrine.test.js. There was a request to do this globally for all tests.

This has bit me multiple times now, when I'm debugging and want to console.log a value, and have to remember why it's not working. I could open up the full debugger everytime, but frequently it's more convenient to just spit something to stdout.

I've moved the implementation back to only quiet the console in Peregrine.test.js, since the large majority of tests/functionality are never going to spit content to the console