HomePhabricator

[Cashtab] Pass chronik as a prop to useWallet hook

Description

[Cashtab] Pass chronik as a prop to useWallet hook

Summary:
Pass chronik as a prop to useWallet.js hook. This enables full-app integration testing by passing mock chronik client.

Add a few simple unit tests to confirm this.

Test Plan: npm test

Reviewers: #bitcoin_abc, PiRK

Reviewed By: #bitcoin_abc, PiRK

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

Details

Provenance
bytesofmanAuthored on Feb 5 2024, 08:00
bytesofmanPushed on Feb 5 2024, 13:58
Reviewer
Restricted Project
Differential Revision
D15381: [Cashtab] Pass chronik as a prop to useWallet hook
Parents
rABC3822a7078b93: [Cashtab] Specify latest stable version of nodejs
Branches
Unknown
Tags
Unknown