Page MenuHomePhabricator

[CashTab] Only show console messages if test fails
ClosedPublic

Authored by alcipir on Dec 6 2020, 08:03.

Details

Reviewers
majcosta
Group Reviewers
Restricted Project
Commits
rABC81333d8c462c: [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.

Diff Detail

Repository
rABC Bitcoin ABC
Branch
cashtab-silence-test-console
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 14320
Build 28615: Build Diff
Build 28614: arc lint + arc unit