Page MenuHomePhabricator

[tg bot] Better mock generation functions and organization
AbandonedPublic

Authored by bytesofman on Mar 18 2023, 05:05.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T2972

Depends on D13389

Add a new script to overwrite existing mocks with latest logic, using npm run newmocks.
Modify structure so that xecPrice is kept as a key in every mock, instead of the only non-block in an object of blocks.

Test Plan

npm run newmocks
npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22551
Build 44722: Build Diff
Build 44721: arc lint + arc unit