diff options
author | Dan J Miller <danjm.com@gmail.com> | 2019-01-30 20:16:12 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-01-30 20:16:12 +0800 |
commit | 02bdbbbc3e2d349ddde5657069ec6dda15fc6668 (patch) | |
tree | 09c2f2dad8263695dee5f49b0ae30c6b59503205 /ui/app/components/send/account-list-item/tests/account-list-item-container.test.js | |
parent | df3169d1c7250d13bb8bc123dc91f7913ad75a81 (diff) | |
download | tangerine-wallet-browser-02bdbbbc3e2d349ddde5657069ec6dda15fc6668.tar.gz tangerine-wallet-browser-02bdbbbc3e2d349ddde5657069ec6dda15fc6668.tar.zst tangerine-wallet-browser-02bdbbbc3e2d349ddde5657069ec6dda15fc6668.zip |
Add visual indicator when displaying a cached balance (#5854)
Diffstat (limited to 'ui/app/components/send/account-list-item/tests/account-list-item-container.test.js')
-rw-r--r-- | ui/app/components/send/account-list-item/tests/account-list-item-container.test.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/components/send/account-list-item/tests/account-list-item-container.test.js b/ui/app/components/send/account-list-item/tests/account-list-item-container.test.js index 7c2f5fcb2..8c22bc8f8 100644 --- a/ui/app/components/send/account-list-item/tests/account-list-item-container.test.js +++ b/ui/app/components/send/account-list-item/tests/account-list-item-container.test.js @@ -15,6 +15,9 @@ proxyquire('../account-list-item.container.js', { getCurrentCurrency: (s) => `mockCurrentCurrency:${s}`, getNativeCurrency: (s) => `mockNativeCurrency:${s}`, }, + '../../../selectors.js': { + isBalanceCached: (s) => `mockBalanceIsCached:${s}`, + }, }) describe('account-list-item container', () => { @@ -26,6 +29,7 @@ describe('account-list-item container', () => { conversionRate: 'mockConversionRate:mockState', currentCurrency: 'mockCurrentCurrency:mockState', nativeCurrency: 'mockNativeCurrency:mockState', + balanceIsCached: 'mockBalanceIsCached:mockState', }) }) |