Page MenuHomePhabricator

[Cashtab] Improve CreateTokenForm component and add integration tests
ClosedPublic

Authored by bytesofman on Jan 19 2024, 06:58.

Details

Summary

Depends on D15207

CreateTokenForm takes some pointless props. Remove them. Update logic in CreateToken holder component to only render CreateTokenForm if balance condition is met.

Add integration tests for expected behavior. Delete legacy snapshot test as new integration tests already cover this.

This diff removes all snapshots from Cashtab.

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Branch
update-home-tests
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 26513
Build 52596: Build Diffcashtab-tests
Build 52595: arc lint + arc unit

Event Timeline

This revision is now accepted and ready to land.Jan 19 2024, 15:06