Page MenuHomePhabricator

[Cashtab] Remove obsolete SendToken snapshot tests and replace with existing validation integration tests
ClosedPublic

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

Details

Summary

Depends on D15203

The new integration tests in SendTokenValidation.test.js are more comprehensive than the legacy snapshot test approach of SendToken.js.

SendTokenValidation.js is incomplete, but that is where all new integration tests for the SendToken component should go.

Delete the legacy snapshot test and rename SendTokenValidation.test.js to SendToken.test.js

Test Plan

npm test

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emack requested changes to this revision.Jan 20 2024, 10:37
emack added a subscriber: emack.

I'm getting a cherry picking error - can you try rebasing?

image.png (488×771 px, 68 KB)

This revision now requires changes to proceed.Jan 20 2024, 10:37
This revision is now accepted and ready to land.Jan 20 2024, 22:18