Page MenuHomePhabricator

[tg bot] Add test script for sending messages
ClosedPublic

Authored by bytesofman on Mar 11 2023, 00:26.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABCc3ec433fb039: [tg bot] Add test script for sending messages
Summary

T2972

Depends on D13279

It's not possible to tell whether or not a given markdown string will send in Telegram without throwing it at the API. This requires an API call and manual review, so should not be integrated into CI.

Instead, added new script, which can be run with npm run msgs. This way the dev can live test usign the Telegram API and a dev bot in a dev channel.

Test Plan

npm run test
npm run msgs and messages all send

Diff Detail

Repository
rABC Bitcoin ABC
Branch
telegram-bot-mega-branch
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22338
Build 44302: Build Diff
Build 44301: arc lint + arc unit