HomePhabricator

[CashTab] Only show console messages if test fails

Description

[CashTab] Only show console messages if test fails

Summary:
Adds a script to show console messages only if the tests fails. Currently when running our tests, there is a lot of noise from console even if everything is fine and the test passes.
Also adds CI=true flag to npm run test:coverage script, thus making watchMode false. This is required for further CI usage.

Test Plan: npm install && npm run test:coverage. Should not show any console messages unless a test fails. Should also not be in watchMode.

Reviewers: #bitcoin_abc, majcosta

Reviewed By: #bitcoin_abc, majcosta

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

Details

Provenance
alcipirAuthored on Dec 6 2020, 07:48
alcipirPushed on Dec 6 2020, 21:01
Reviewer
Restricted Project
Differential Revision
D8608: [CashTab] Only show console messages if test fails
Parents
rABC995d70773735: [avalanche] Specify the proof to be used by the node via config
Branches
Unknown
Tags
Unknown