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
Branch
tg-bot-etoken-stack
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22540
Build 44700: Build Diff
Build 44699: arc lint + arc unit