Page MenuHomePhabricator

[Cashtab] Combine App integration tests into one file using now-standardized approach
AbandonedPublic

Authored by bytesofman on Feb 15 2024, 19:25.

Details

Reviewers
None
Group Reviewers
Restricted Project
Summary

Incrementally standardize Cashtab unit tests to use actual useWallet hook and mock chronik client instead of various shims that limit selected components.

Start by combining existing App integration tests. Remove legacy tests that are already covered by AppIntegrations tests. For tests that are not covered, load a full mock to execute.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
extend-generalized-tests
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 27205
Build 53974: Build Diffcashtab-tests
Build 53973: arc lint + arc unit

Event Timeline

implement now-landed test wrapper

While this diff is not doing anything too complicated, it is difficult to review the way it has been presented and should be split into parts.