diff --git a/src/utils/__tests__/__snapshots__/formatUtils.test.js.snap b/src/utils/__tests__/__snapshots__/formatUtils.test.js.snap index c7a37e6c..448a338a 100644 --- a/src/utils/__tests__/__snapshots__/formatUtils.test.js.snap +++ b/src/utils/__tests__/__snapshots__/formatUtils.test.js.snap @@ -18,7 +18,7 @@ exports[`format utils formatAmount 3`] = `"0.000005 mBTC"`; exports[`format utils formatAmount 4`] = `"1e-8 eth"`; -exports[`format utils formatAmount 5`] = `"0.00099999 undefined"`; +exports[`format utils formatAmount 5`] = `"0.00099999 tau"`; exports[`format utils formatTime 1`] = `"No time estimate"`; diff --git a/src/utils/__tests__/formatUtils.test.js b/src/utils/__tests__/formatUtils.test.js index e2bc4593..eb1d026d 100644 --- a/src/utils/__tests__/formatUtils.test.js +++ b/src/utils/__tests__/formatUtils.test.js @@ -7,7 +7,7 @@ describe('format utils', () => { { amount: 1000000, coinInfo: { isBitcoin: true, currencyUnits: 'mbtc', shortcut: 'btc' } }, { amount: 0.5, coinInfo: { isBitcoin: true, currencyUnits: 'mbtc', shortcut: 'btc' } }, { amount: 1, coinInfo: { isBitcoin: false, shortcut: 'eth' } }, - { amount: 99999, coinInfo: { isBitcoin: false, currencyUnits: 'tau' } }, + { amount: 99999, coinInfo: { isBitcoin: false, shortcut: 'tau' } }, ]; input.forEach((entry) => {