Skip to content

Commit

Permalink
Fix Mooniswap tests
Browse files Browse the repository at this point in the history
  • Loading branch information
zZoMROT committed Feb 2, 2024
1 parent 888ab17 commit 69307cf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test/oracles/MooniswapOracle.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ describe('MooniswapOracle', function () {

it('USDC -> 1INCH', async function () {
const { mooniswapOracle, uniswapV3Oracle } = await loadFixture(initContracts);
await testRate(tokens.USDC, tokens['1INCH'], tokens.NONE, mooniswapOracle, uniswapV3Oracle);
await testRate(tokens.USDC, tokens['1INCH'], tokens.NONE, mooniswapOracle, uniswapV3Oracle, 0.06);
});

it.skip('ETH -> USDC -> 1INCH // todo: need to fix', async function () {
it('ETH -> USDC -> 1INCH', async function () {
const { mooniswapOracle, uniswapV3Oracle } = await loadFixture(initContracts);
await testRate([tokens.ETH, tokens.WETH], tokens['1INCH'], tokens.USDC, mooniswapOracle, uniswapV3Oracle);
await testRate([tokens.ETH, tokens.WETH], tokens['1INCH'], tokens.USDC, mooniswapOracle, uniswapV3Oracle, 0.075);
});
});

0 comments on commit 69307cf

Please sign in to comment.