HomePhabricator

[Cashtab] Add unit tests for send BCHA amount validation

Description

[Cashtab] Add unit tests for send BCHA amount validation

Summary: Add a validation.js file in utils to split form validation out from functional component and allow efficient unit tests. Unit tests for covered error cases.

Test Plan: npm test

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

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

Details

Provenance
Joey King <joseph.roy.king@gmail.com>Authored on Jan 21 2021, 21:59
bytesofmanPushed on Jan 22 2021, 16:24
Reviewer
Restricted Project
Differential Revision
D9021: [Cashtab] Add unit tests for send BCHA amount validation
Parents
rABCee2b8181a061: Bump version to 0.22.13
Branches
Unknown
Tags
Unknown