1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-23 11:46:13 +02:00
metamask-extension/ui/app/pages/send/tests
Thomas Huang 44448465ed
Validate sendToken address when component updates (#9907)
* Validate sendToken address when component updates

On a reproduction of trying to get the error message it seems that if an token address is provided in the address form with ETH selected then changing to a token address, the error message won't show.

This will validate the sendtoken address on prop change to properly update the warning message.

* Update test to include second doesAmountErrorRequireUpdate call when state is updated and component is updated
2020-11-19 07:35:42 -08:00
..
send-component.test.js Validate sendToken address when component updates (#9907) 2020-11-19 07:35:42 -08:00
send-container.test.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00
send-utils.test.js [RFC] add prettier to eslint (#8595) 2020-11-02 17:41:28 -06:00