Page MenuHomePhabricator

[alias-server] Add mock telegram bot to support unit tests of planned telegram bot msg features
ClosedPublic

Authored by bytesofman on Apr 28 2023, 15:13.

Details

Summary

T3060

Add a mock telegram bot with unit test. The app's telegram bot is an input to many existing functions. Currently these functions do not build and send telegram msgs. As this feature is added, will want to add this mock to existing unit tests.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
add-telegram-bot-mock
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 23554
Build 46725: Build Diffalias-server-tests
Build 46724: arc lint + arc unit