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
Branch
patch-parsetxdata-tests
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 19682
Build 39083: Build Diffcashtab-tests
Build 39082: arc lint + arc unit