Page MenuHomePhabricator

[herald] Unit tests for initializing websocket
ClosedPublic

Authored by bytesofman on Apr 7 2023, 16:35.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC423960e0f8ef: [herald] Unit tests for initializing websocket
Summary

T2972

Depends on D13615

Refactor websocket functions to accept chronik and telegramBot as params, as these must be mocked in unit tests.

Add unit tests for initializing the websocket.

Note: additional unit tests to follow later in this stack

Test Plan

npm test

Diff Detail

Event Timeline

This revision is now accepted and ready to land.Apr 9 2023, 06:31