aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/currency-input/tests/currency-input.container.test.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2019-02-06 23:14:17 +0800
committerWhymarrh Whitby <whymarrh.whitby@gmail.com>2019-02-06 23:14:17 +0800
commit798930afbaa01d691059db1cec4caf12414493b9 (patch)
treee39377ef7ddcac23afe6698996f8bcbff79b79e8 /ui/app/components/currency-input/tests/currency-input.container.test.js
parent83109c3dc7fbb3e89c047363ec3baeac4df99f77 (diff)
downloadtangerine-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.js6
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',
})
})
})