Skip to content

Commit

Permalink
⬇️ Lower amount in Pool Curve integration test (#1255)
Browse files Browse the repository at this point in the history
  • Loading branch information
abam-iksde authored Apr 14, 2023
1 parent e81b121 commit 3fa4b4e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration/poolExchanges.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@ import { upgradeSuite } from './suite'
import { TrueFiPool__factory } from 'contracts'
import { expect, use } from 'chai'
import { solidity } from 'ethereum-waffle'
import { parseUnits } from '@ethersproject/units'

use(solidity)

describe('Pool Curve integration', () => {
it('deposit TUSD to Curve', async () => {
const pool = await upgradeSuite(TrueFiPool__factory, '0xa1e72267084192Db7387c8CC1328fadE470e4149', [])
const tusdBalance = await pool.currencyBalance()
await expect(pool.flush(tusdBalance)).to.be.not.reverted
await expect(pool.flush(parseUnits('1000', 18))).to.be.not.reverted
})
})

0 comments on commit 3fa4b4e

Please sign in to comment.