diff options
author | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 03:47:24 +0800 |
---|---|---|
committer | Steve Klebanoff <steve.klebanoff@gmail.com> | 2018-10-27 03:47:24 +0800 |
commit | 9be4c4749935a765cbd55783735d1d1f719322c0 (patch) | |
tree | 49c3f3f42e58b49547799e6dfadc1b10c82381db /packages/instant/test | |
parent | 9512978de9aee1953930d4f16a105ec5ef7f048e (diff) | |
parent | af91a56a5594d07d7da6caaeff79f5a7fb31ff98 (diff) | |
download | dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.tar dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.tar.gz dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.tar.bz2 dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.tar.lz dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.tar.xz dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.tar.zst dexon-sol-tools-9be4c4749935a765cbd55783735d1d1f719322c0.zip |
Merge branch 'development' into feature/not-enough-eth
Diffstat (limited to 'packages/instant/test')
-rw-r--r-- | packages/instant/test/util/format.test.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/packages/instant/test/util/format.test.ts b/packages/instant/test/util/format.test.ts index 1be226ed8..c346b7604 100644 --- a/packages/instant/test/util/format.test.ts +++ b/packages/instant/test/util/format.test.ts @@ -20,8 +20,8 @@ describe('format', () => { it('converts .432414 ETH in base units to the string `.4324 ETH`', () => { expect(format.ethBaseAmount(DECIMAL_ETH_IN_BASE_UNITS)).toBe('0.4324 ETH'); }); - it('converts 5.3014059295032 ETH in base units to the string `5.3014 ETH`', () => { - expect(format.ethBaseAmount(IRRATIONAL_ETH_IN_BASE_UNITS)).toBe('5.3014 ETH'); + it('converts 5.3014059295032 ETH in base units to the string `5.301 ETH`', () => { + expect(format.ethBaseAmount(IRRATIONAL_ETH_IN_BASE_UNITS)).toBe('5.301 ETH'); }); it('returns defaultText param when ethBaseAmount is not defined', () => { const defaultText = 'defaultText'; @@ -38,8 +38,8 @@ describe('format', () => { it('converts BigNumer(.432414) to the string `.4324 ETH`', () => { expect(format.ethUnitAmount(BIG_NUMBER_DECIMAL)).toBe('0.4324 ETH'); }); - it('converts BigNumber(5.3014059295032) to the string `5.3014 ETH`', () => { - expect(format.ethUnitAmount(BIG_NUMBER_IRRATIONAL)).toBe('5.3014 ETH'); + it('converts BigNumber(5.3014059295032) to the string `5.301 ETH`', () => { + expect(format.ethUnitAmount(BIG_NUMBER_IRRATIONAL)).toBe('5.301 ETH'); }); it('returns defaultText param when ethUnitAmount is not defined', () => { const defaultText = 'defaultText'; |