HomePhabricator

[Cashtab] Add canvas mock to prevent annoying jest debug logs

Description

[Cashtab] Add canvas mock to prevent annoying jest debug logs

Summary:
Most cashtab integration tests get this logging because canvas is not mocked in jest environment. It does not need to be for any test reason except that the logs are distracting and make it harder to find real problems.

Add the mock to suppress these logs.

Test Plan: npm test

Reviewers: #bitcoin_abc, emack

Reviewed By: #bitcoin_abc, emack

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

Details

Provenance
bytesofmanAuthored on Wed, Nov 6, 00:51
bytesofmanPushed on Wed, Nov 6, 17:30
Reviewer
Restricted Project
Differential Revision
D17083: [Cashtab] Add canvas mock to prevent annoying jest debug logs
Parents
rABCeccc5241ca91: [CI] Disable chronik plugins in the release
Branches
Unknown
Tags
Unknown