Page MenuHomePhabricator

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

Authored by bytesofman on Wed, Nov 6, 00:53.

Details

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

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable