HomePhabricator

[Cashtab] Better testing of useWallet hook

Description

[Cashtab] Better testing of useWallet hook

Summary:
Add more tests for the useWallet hook.

This diff introduces automated testing of localforage interaction. This will provide a baseline for future refactors of useWallet.js, demonstrating that expected behavior is preserved.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

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

Details

Provenance
bytesofmanAuthored on Jan 30 2024, 17:35
bytesofmanPushed on Feb 1 2024, 22:33
Reviewer
Restricted Project
Differential Revision
D15351: [Cashtab] Better testing of useWallet hook
Parents
rABC5ec6db4272a2: [chronik-client] Support raw-tx endpoint in ChronikClientNode
Branches
Unknown
Tags
Unknown