[node apps using mocha] suppress console.log output from passed unit tests
Summary:
T2972
Implement mocha-suppress-logs to suppress console.log statements from passed unit tests (console.log will still print in failed unit tests, which is helpful for developing).
Unit test checking output of logs is removed from alias-server. This diff caused the tests to fail, as would any future diff changing those logs. Best practice not to test output of console.log statements.
While it does seem silly to use yet another module to accomplish this, it is quite small, well-tested, and seems to be the standard way. Plugins to augment performance of engines like mocha or eslint is standard js.
Test Plan: npm test in affected repos, no console.log statements
Reviewers: #bitcoin_abc, Fabien
Reviewed By: #bitcoin_abc, Fabien
Differential Revision: https://reviews.bitcoinabc.org/D13590