Page MenuHomePhabricator

[tg bot] Add option to run mocks from cache instead of chronik, reformat headlines
AbandonedPublic

Authored by bytesofman on Mar 23 2023, 22:31.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

T2972

Depends on D13447

Add new option npm run newmockslive to generate new mocks using API data
Running npm run mocks or npm run newmocks will generate mocks using cached chronik data

Test Plan

npm run newmocks and it works
npm run newmockslive and it works although it takes a long time now
npm run sendlatest to check out the headline change

Diff Detail

Repository
rABC Bitcoin ABC
Branch
new-tg-bot-stack
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22635
Build 44890: Build Diff
Build 44889: arc lint + arc unit