diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2019-02-17 12:30:02 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-17 12:30:02 +0800 |
commit | b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5 (patch) | |
tree | ff2457d6720582209c0bf6aa58e2529ea6302c56 /ui/app/components/transaction-list-item-details/tests | |
parent | ce48d1f49cad920cb07715c523de9da7cf4acf1d (diff) | |
download | tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.tar tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.tar.gz tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.tar.bz2 tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.tar.lz tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.tar.xz tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.tar.zst tangerine-wallet-browser-b58a9bd2028e5719f4b3b8ed3a9088f4145fb6e5.zip |
Add Copy Tx ID button to transaction-list-item-details (#6146)
* Add Copy Tx ID button to transaction-list-item-details
* Move justCopied toggle timeout inside setState callback
Diffstat (limited to 'ui/app/components/transaction-list-item-details/tests')
-rw-r--r-- | ui/app/components/transaction-list-item-details/tests/transaction-list-item-details.component.test.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/app/components/transaction-list-item-details/tests/transaction-list-item-details.component.test.js b/ui/app/components/transaction-list-item-details/tests/transaction-list-item-details.component.test.js index 62fc64db9..5b55beeb4 100644 --- a/ui/app/components/transaction-list-item-details/tests/transaction-list-item-details.component.test.js +++ b/ui/app/components/transaction-list-item-details/tests/transaction-list-item-details.component.test.js @@ -37,7 +37,7 @@ describe('TransactionListItemDetails Component', () => { ) assert.ok(wrapper.hasClass('transaction-list-item-details')) - assert.equal(wrapper.find(Button).length, 1) + assert.equal(wrapper.find(Button).length, 2) assert.equal(wrapper.find(SenderToRecipient).length, 1) assert.equal(wrapper.find(TransactionBreakdown).length, 1) assert.equal(wrapper.find(TransactionActivityLog).length, 1) @@ -76,6 +76,6 @@ describe('TransactionListItemDetails Component', () => { ) assert.ok(wrapper.hasClass('transaction-list-item-details')) - assert.equal(wrapper.find(Button).length, 2) + assert.equal(wrapper.find(Button).length, 3) }) }) |