diff options
author | Dan <danjm.com@gmail.com> | 2018-05-26 01:09:31 +0800 |
---|---|---|
committer | Dan <danjm.com@gmail.com> | 2018-05-26 01:09:31 +0800 |
commit | e712336189e1a0a453ea30dbb58abbc3c57db8f8 (patch) | |
tree | 13137b391037515880ebd227a293ea75dfa1bbe8 /ui/app/components/send_/send-footer/tests/send-footer-component.test.js | |
parent | 0de765aa25637cd85e22eebd11b6c4c8a32faf14 (diff) | |
download | tangerine-wallet-browser-e712336189e1a0a453ea30dbb58abbc3c57db8f8.tar.gz tangerine-wallet-browser-e712336189e1a0a453ea30dbb58abbc3c57db8f8.tar.zst tangerine-wallet-browser-e712336189e1a0a453ea30dbb58abbc3c57db8f8.zip |
Send refactor: fix error handling and form disabling in send form.
Diffstat (limited to 'ui/app/components/send_/send-footer/tests/send-footer-component.test.js')
-rw-r--r-- | ui/app/components/send_/send-footer/tests/send-footer-component.test.js | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/components/send_/send-footer/tests/send-footer-component.test.js b/ui/app/components/send_/send-footer/tests/send-footer-component.test.js index a74b6195c..e071fe54f 100644 --- a/ui/app/components/send_/send-footer/tests/send-footer-component.test.js +++ b/ui/app/components/send_/send-footer/tests/send-footer-component.test.js @@ -86,6 +86,12 @@ describe('SendFooter Component', function () { gasTotal: false, expectedResult: true, }, + 'should return true if to is truthy': { + to: '0xsomevalidAddress', + inError: false, + gasTotal: false, + expectedResult: true, + }, 'should return true if selectedToken is truthy and tokenBalance is falsy': { selectedToken: true, tokenBalance: null, |