HomePhabricator

[Cashtab] Bring back noisy test logs if not in CI

Description

[Cashtab] Bring back noisy test logs if not in CI

Summary:
The silent logs are great and should def be used in CI. However I routinely use the (noisy) logs for Cashtab dev to check variables, see how functions are behaving, even very normal behavior like screen.debug(null, Infinity) to see what the DOM looks like at a certain step of a test.

It's happened a few times now that these logs didn't work and I forgot why, then had to manually adjust this, then set it back before putting up a diff.

I think this is a better permanent solution, even at the cost of noisy local test logs.

Test Plan: npm test locally and logs are loud

Reviewers: #bitcoin_abc, emack, Fabien

Reviewed By: #bitcoin_abc, emack, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D17468

Event Timeline