HomePhabricator

[alias-server] replace optionalMocks param with mocked instance of chronik

Description

[alias-server] replace optionalMocks param with mocked instance of chronik

Summary:
T3060

Depends on D13599

Replace passed mocks param with a mocked instance of chronik that returns mock data in expected chronik format

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
bytesofmanAuthored on Apr 6 2023, 14:38
bytesofmanPushed on Apr 6 2023, 15:47
Reviewer
Restricted Project
Differential Revision
D13602: [alias-server] replace optionalMocks param with mocked instance of chronik
Parents
rABC5e593fe5910b: [alias-server] Chronik functions take chronik as a param to support futureā€¦
Branches
Unknown
Tags
Unknown