Context
EscrowCard drives the deposit/distribute money path and has no test coverage, unlike the newer CreateSplit/PaySplit/RecipientEditor component tests. See app/src/components/EscrowCard.tsx.
Acceptance criteria
- A test covers the deposit button submitting an amount, and the distribute button being disabled until there's a pending balance.
Per CONTRIBUTING.md: one concern, tests required for behaviour changes. CI gate: cargo fmt / cargo clippy --all-targets -- -D warnings / cargo test for Rust, npm run build for the sdk/app.
Context
EscrowCard drives the deposit/distribute money path and has no test coverage, unlike the newer CreateSplit/PaySplit/RecipientEditor component tests. See app/src/components/EscrowCard.tsx.
Acceptance criteria
Per CONTRIBUTING.md: one concern, tests required for behaviour changes. CI gate:
cargo fmt/cargo clippy --all-targets -- -D warnings/cargo testfor Rust,npm run buildfor the sdk/app.