HomePhabricator

[alias-server] Improve mocked chronik class

Description

[alias-server] Improve mocked chronik class

Summary:
T3060

Depends on D13604

Improvements to chronikMock.js to make unit tests more effective. Confirm that initializeWebsocket called expected functions.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Apr 6 2023, 17:48
bytesofmanPushed on Apr 7 2023, 15:06
Reviewer
Restricted Project
Differential Revision
D13605: [alias-server] Improve mocked chronik class
Parents
rABC77d617aa366d: [alias-server] Use address as parameter instead of hardcoded p2pkh and hash…
Branches
Unknown
Tags
Unknown