HomePhabricator

[alias-server] Add mock telegram bot to support unit tests of planned telegram…

Description

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

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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D13820

Details

Provenance
bytesofmanAuthored on Apr 28 2023, 15:10
bytesofmanPushed on Apr 28 2023, 15:41
Reviewer
Restricted Project
Differential Revision
D13820: [alias-server] Add mock telegram bot to support unit tests of planned telegram bot msg features
Parents
rABC4ce22b270aae: [buildbot] Add a deployment Dockerfile
Branches
Unknown
Tags
Unknown