diff --git a/packages/triggers-calculations/src/helpers/calculate-collateral.spec.ts b/packages/triggers-calculations/src/helpers/calculate-collateral.spec.ts index b6b99b2984..2e28feaba0 100644 --- a/packages/triggers-calculations/src/helpers/calculate-collateral.spec.ts +++ b/packages/triggers-calculations/src/helpers/calculate-collateral.spec.ts @@ -1,5 +1,6 @@ -import { LTV, Price, PRICE_DECIMALS, Token, TokenBalance } from '@summerfi/triggers-shared' +import { Price, PRICE_DECIMALS, Token, TokenBalance } from '@summerfi/triggers-shared' import { calculateCollateral } from './calculate-collateral' +import { LTV } from '@summerfi/serverless-shared' describe('calculate collateral', () => { it(`should return value of 1 ETH`, () => { diff --git a/packages/triggers-calculations/src/helpers/subtract-slippage.spec.ts b/packages/triggers-calculations/src/helpers/subtract-slippage.spec.ts index dbcb8be03c..b3bb81c8b5 100644 --- a/packages/triggers-calculations/src/helpers/subtract-slippage.spec.ts +++ b/packages/triggers-calculations/src/helpers/subtract-slippage.spec.ts @@ -1,5 +1,6 @@ -import { Percentage, TokenBalance } from '@summerfi/triggers-shared' +import { TokenBalance } from '@summerfi/triggers-shared' import { subtractPercentage } from './subtract-percentage' +import { Percentage } from '@summerfi/serverless-shared' describe('subtract slippage', () => { it(`Should return a value of 0.998 ETH when slippage is 0.2% and balance is 1 ETH.`, () => {