Skip to content

Commit

Permalink
spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
pyramation committed Nov 13, 2024
1 parent 59de136 commit 97ccde6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions v1/packages/utils/__tests__/calc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,10 @@ describe('tests for calc utils', () => {

it('convertBaseUnitToDollarValueByDenom' ,()=>{
const priceMap = mapCoinGeckoPricesToDenoms(osmosisAssets, coinGeckoPrices);
const dolloar1 = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'uosmo', 1000000, 'osmosis');
expect(dolloar1).toBe('0.498124');
const dolloarNoPrice = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'ibc/8E697BDABE97ACE8773C6DF7402B2D1D5104DD1EEABE12608E3469B7F64C15BA', 1000000, 'osmosis');
expect(dolloarNoPrice).toBe('0');
const dollar1 = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'uosmo', 1000000, 'osmosis');
expect(dollar1).toBe('0.498124');
const dollarNoPrice = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'ibc/8E697BDABE97ACE8773C6DF7402B2D1D5104DD1EEABE12608E3469B7F64C15BA', 1000000, 'osmosis');
expect(dollarNoPrice).toBe('0');
});


Expand Down
8 changes: 4 additions & 4 deletions v2/packages/utils/__tests__/calc.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -90,10 +90,10 @@ describe('tests for calc utils', () => {

it('convertBaseUnitToDollarValueByDenom' ,()=>{
const priceMap = mapCoinGeckoPricesToDenoms(osmosisAssets, coinGeckoPrices);
const dolloar1 = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'uosmo', 1000000, 'osmosis');
expect(dolloar1).toBe('0.498124');
const dolloarNoPrice = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'ibc/8E697BDABE97ACE8773C6DF7402B2D1D5104DD1EEABE12608E3469B7F64C15BA', 1000000, 'osmosis');
expect(dolloarNoPrice).toBe('0');
const dollar1 = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'uosmo', 1000000, 'osmosis');
expect(dollar1).toBe('0.498124');
const dollarNoPrice = convertBaseUnitToDollarValueByDenom(osmosisAssets, priceMap, 'ibc/8E697BDABE97ACE8773C6DF7402B2D1D5104DD1EEABE12608E3469B7F64C15BA', 1000000, 'osmosis');
expect(dollarNoPrice).toBe('0');
});


Expand Down

0 comments on commit 97ccde6

Please sign in to comment.