HomePhabricator

[Cashtab] Refactor unit tests for parseChronikTx

Description

[Cashtab] Refactor unit tests for parseChronikTx

Summary:
Depends on D15253

Create array of test vectors for parseChronikTx unit tests. Mocks are updated to have tx and parsed keys, and renamed to better reflect test case

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
bytesofmanAuthored on Jan 23 2024, 22:12
bytesofmanPushed on Jan 24 2024, 14:35
Reviewer
Restricted Project
Differential Revision
D15254: [Cashtab] Refactor unit tests for parseChronikTx
Parents
rABC62dbae78a669: [Cashtab] Move chronik out of utils
Branches
Unknown
Tags
Unknown