diff options
author | Chi Kei Chan <chikeichan@gmail.com> | 2019-02-06 23:14:17 +0800 |
---|---|---|
committer | Whymarrh Whitby <whymarrh.whitby@gmail.com> | 2019-02-06 23:14:17 +0800 |
commit | 798930afbaa01d691059db1cec4caf12414493b9 (patch) | |
tree | e39377ef7ddcac23afe6698996f8bcbff79b79e8 /ui/app/components/currency-input/tests/currency-input.container.test.js | |
parent | 83109c3dc7fbb3e89c047363ec3baeac4df99f77 (diff) | |
download | tangerine-wallet-browser-798930afbaa01d691059db1cec4caf12414493b9.tar.gz tangerine-wallet-browser-798930afbaa01d691059db1cec4caf12414493b9.tar.zst tangerine-wallet-browser-798930afbaa01d691059db1cec4caf12414493b9.zip |
Add Swap feature to CurrencyInput (#6091)
* Add Swap feature to CurrencyInput
* Fix linter error
* Fix and Add unit tests
Diffstat (limited to 'ui/app/components/currency-input/tests/currency-input.container.test.js')
-rw-r--r-- | ui/app/components/currency-input/tests/currency-input.container.test.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/ui/app/components/currency-input/tests/currency-input.container.test.js b/ui/app/components/currency-input/tests/currency-input.container.test.js index 5d72958e6..10f530eff 100644 --- a/ui/app/components/currency-input/tests/currency-input.container.test.js +++ b/ui/app/components/currency-input/tests/currency-input.container.test.js @@ -46,14 +46,16 @@ describe('CurrencyInput container', () => { currentCurrency: 'usd', nativeCurrency: 'ETH', useFiat: true, - suffix: 'USD', + nativeSuffix: 'ETH', + fiatSuffix: 'USD', }) assert.deepEqual(mergeProps(mockStateProps, mockDispatchProps, {}), { conversionRate: 280.45, currentCurrency: 'usd', nativeCurrency: 'ETH', - suffix: 'ETH', + nativeSuffix: 'ETH', + fiatSuffix: 'USD', }) }) }) |