Page MenuHomePhabricator

[Cashtab] Mock getRawTransaction API calls in unit tests
ClosedPublic

Authored by bytesofman on Jul 20 2022, 21:51.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC33a12b58d775: [Cashtab] Mock getRawTransaction API calls in unit tests
Summary

T2577

Earlier review missed this API call, which only applies for received txs. This diff mocks the API call, patching longstanding bug in unit tests covered by replyAddress: null from earlier error.

Paves the way for D11672

Test Plan

Review the new mocks
npm test

Diff Detail

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