Skip to content

Commit

Permalink
Fix types issues
Browse files Browse the repository at this point in the history
  • Loading branch information
jakubswierczek committed Apr 17, 2024
1 parent 45ec647 commit 26b19f7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -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`, () => {
Expand Down
Original file line number Diff line number Diff line change
@@ -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.`, () => {
Expand Down

0 comments on commit 26b19f7

Please sign in to comment.