aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant/test
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2018-11-14 06:18:19 +0800
committerBrandon Millman <brandon.millman@gmail.com>2018-11-14 06:18:19 +0800
commit820ab062a6b24f246770f3700ecd6fbb5e3dcfa4 (patch)
tree5f448e6af71ab0af733ab8b32ab8a050e170d8f5 /packages/instant/test
parent3a3fe0e69acdc3a7aac16c4a64054d71a0689279 (diff)
downloaddexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.tar
dexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.tar.gz
dexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.tar.bz2
dexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.tar.lz
dexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.tar.xz
dexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.tar.zst
dexon-sol-tools-820ab062a6b24f246770f3700ecd6fbb5e3dcfa4.zip
chore(instant): fix prettier
Diffstat (limited to 'packages/instant/test')
-rw-r--r--packages/instant/test/util/format.test.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/instant/test/util/format.test.ts b/packages/instant/test/util/format.test.ts
index 0d974d13b..fe0a63e6e 100644
--- a/packages/instant/test/util/format.test.ts
+++ b/packages/instant/test/util/format.test.ts
@@ -55,7 +55,9 @@ describe('format', () => {
expect(format.ethBaseUnitAmountInUsd(ONE_ETH_IN_BASE_UNITS, BIG_NUMBER_FAKE_ETH_USD_PRICE)).toBe('$2.53');
});
it('correctly formats .432414 ETH to usd according to some price', () => {
- expect(format.ethBaseUnitAmountInUsd(DECIMAL_ETH_IN_BASE_UNITS, BIG_NUMBER_FAKE_ETH_USD_PRICE)).toBe('$1.10');
+ expect(format.ethBaseUnitAmountInUsd(DECIMAL_ETH_IN_BASE_UNITS, BIG_NUMBER_FAKE_ETH_USD_PRICE)).toBe(
+ '$1.10',
+ );
});
it('correctly formats 5.3014059295032 ETH to usd according to some price', () => {
expect(format.ethBaseUnitAmountInUsd(IRRATIONAL_ETH_IN_BASE_UNITS, BIG_NUMBER_FAKE_ETH_USD_PRICE)).toBe(