From 55de0f7fb33b10fa4373833a1ab4014abc21ea72 Mon Sep 17 00:00:00 2001 From: Jeff Huang Date: Thu, 17 Oct 2024 11:17:32 +0800 Subject: [PATCH] test: skip radiant v2 and sonne tests --- src/logics/radiant-v2/logic.borrow.test.ts | 2 +- src/logics/radiant-v2/logic.deposit.test.ts | 2 +- src/logics/radiant-v2/logic.flash-loan.test.ts | 2 +- src/logics/radiant-v2/logic.repay.test.ts | 4 ++-- src/logics/radiant-v2/logic.withdraw.test.ts | 2 +- src/logics/radiant-v2/service.test.ts | 2 +- src/logics/sonne/logic.borrow.test.ts | 2 +- src/logics/sonne/logic.repay.test.ts | 2 +- src/logics/sonne/logic.supply.test.ts | 2 +- src/logics/sonne/logic.withdraw.test.ts | 2 +- test/logics/radiant-v2/borrow.test.ts | 2 +- test/logics/radiant-v2/deposit.test.ts | 2 +- test/logics/radiant-v2/flash-loan.test.ts | 2 +- test/logics/radiant-v2/repay.test.ts | 2 +- test/logics/radiant-v2/withdraw.test.ts | 2 +- test/logics/sonne/borrow.test.ts | 2 +- test/logics/sonne/repay.test.ts | 2 +- test/logics/sonne/supply.test.ts | 2 +- test/logics/sonne/withdraw.test.ts | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/src/logics/radiant-v2/logic.borrow.test.ts b/src/logics/radiant-v2/logic.borrow.test.ts index 92610686..a6932b89 100644 --- a/src/logics/radiant-v2/logic.borrow.test.ts +++ b/src/logics/radiant-v2/logic.borrow.test.ts @@ -9,7 +9,7 @@ import { constants, utils } from 'ethers'; import * as core from '@protocolink/core'; import { expect } from 'chai'; -describe('RadiantV2 BorrowLogic', () => { +describe.skip('RadiantV2 BorrowLogic', () => { context('Test getTokenList', async () => { BorrowLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async () => { diff --git a/src/logics/radiant-v2/logic.deposit.test.ts b/src/logics/radiant-v2/logic.deposit.test.ts index ffbd1e39..58ecdc99 100644 --- a/src/logics/radiant-v2/logic.deposit.test.ts +++ b/src/logics/radiant-v2/logic.deposit.test.ts @@ -8,7 +8,7 @@ import { constants, utils } from 'ethers'; import * as core from '@protocolink/core'; import { expect } from 'chai'; -describe('RadiantV2 DepositLogic', () => { +describe.skip('RadiantV2 DepositLogic', () => { context('Test getTokenList', async () => { DepositLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async () => { diff --git a/src/logics/radiant-v2/logic.flash-loan.test.ts b/src/logics/radiant-v2/logic.flash-loan.test.ts index ef45175b..5ecc6291 100644 --- a/src/logics/radiant-v2/logic.flash-loan.test.ts +++ b/src/logics/radiant-v2/logic.flash-loan.test.ts @@ -8,7 +8,7 @@ import { constants, utils } from 'ethers'; import { expect } from 'chai'; import { getContractAddress } from './configs'; -describe('RadiantV2 FlashLoanLogic', () => { +describe.skip('RadiantV2 FlashLoanLogic', () => { context('Test getTokenList', async () => { FlashLoanLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async () => { diff --git a/src/logics/radiant-v2/logic.repay.test.ts b/src/logics/radiant-v2/logic.repay.test.ts index 9f892569..ea5cfb45 100644 --- a/src/logics/radiant-v2/logic.repay.test.ts +++ b/src/logics/radiant-v2/logic.repay.test.ts @@ -3,13 +3,13 @@ import { LendingPool__factory } from './contracts'; import { LogicTestCase } from 'test/types'; import { RepayLogic, RepayLogicFields } from './logic.repay'; import { Service } from './service'; +import { arbitrumTokens } from './tokens'; import * as common from '@protocolink/common'; import { constants, utils } from 'ethers'; import * as core from '@protocolink/core'; import { expect } from 'chai'; -import { arbitrumTokens } from './tokens'; -describe('RadiantV2 RepayLogic', () => { +describe.skip('RadiantV2 RepayLogic', () => { context('Test getTokenList', async () => { RepayLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async () => { diff --git a/src/logics/radiant-v2/logic.withdraw.test.ts b/src/logics/radiant-v2/logic.withdraw.test.ts index 8f2c4253..c4939c0c 100644 --- a/src/logics/radiant-v2/logic.withdraw.test.ts +++ b/src/logics/radiant-v2/logic.withdraw.test.ts @@ -8,7 +8,7 @@ import { constants, utils } from 'ethers'; import * as core from '@protocolink/core'; import { expect } from 'chai'; -describe('RadiantV2 WithdrawLogic', () => { +describe.skip('RadiantV2 WithdrawLogic', () => { context('Test getTokenList', async () => { WithdrawLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async () => { diff --git a/src/logics/radiant-v2/service.test.ts b/src/logics/radiant-v2/service.test.ts index 06cf1412..b75ba4a2 100644 --- a/src/logics/radiant-v2/service.test.ts +++ b/src/logics/radiant-v2/service.test.ts @@ -4,7 +4,7 @@ import * as common from '@protocolink/common'; import { expect } from 'chai'; import omit from 'lodash/omit'; -describe('RadiantV2 Service', () => { +describe.skip('RadiantV2 Service', () => { const chainIds = [common.ChainId.arbitrum]; context('Test getReserveTokensAddresses', () => { diff --git a/src/logics/sonne/logic.borrow.test.ts b/src/logics/sonne/logic.borrow.test.ts index 914e2d8a..c728cc4f 100644 --- a/src/logics/sonne/logic.borrow.test.ts +++ b/src/logics/sonne/logic.borrow.test.ts @@ -6,7 +6,7 @@ import { expect } from 'chai'; import { optimismTokens } from './tokens'; import * as smartAccounts from '@protocolink/smart-accounts'; -describe('Sonne BorrowLogic', function () { +describe.skip('Sonne BorrowLogic', function () { context('Test getTokenList', async function () { BorrowLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async function () { diff --git a/src/logics/sonne/logic.repay.test.ts b/src/logics/sonne/logic.repay.test.ts index 6f0211e2..a9d8e7a8 100644 --- a/src/logics/sonne/logic.repay.test.ts +++ b/src/logics/sonne/logic.repay.test.ts @@ -8,7 +8,7 @@ import { expect } from 'chai'; import { optimismTokens } from './tokens'; import { toCToken } from './configs'; -describe('Sonne RepayLogic', function () { +describe.skip('Sonne RepayLogic', function () { context('Test getTokenList', async function () { RepayLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async function () { diff --git a/src/logics/sonne/logic.supply.test.ts b/src/logics/sonne/logic.supply.test.ts index ee1323b8..bd06d1eb 100644 --- a/src/logics/sonne/logic.supply.test.ts +++ b/src/logics/sonne/logic.supply.test.ts @@ -8,7 +8,7 @@ import { expect } from 'chai'; import { optimismTokens } from './tokens'; import { toCToken } from './configs'; -describe('Sonne SupplyLogic', function () { +describe.skip('Sonne SupplyLogic', function () { context('Test getTokenList', async function () { SupplyLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async function () { diff --git a/src/logics/sonne/logic.withdraw.test.ts b/src/logics/sonne/logic.withdraw.test.ts index 04e3c731..4aeb4528 100644 --- a/src/logics/sonne/logic.withdraw.test.ts +++ b/src/logics/sonne/logic.withdraw.test.ts @@ -8,7 +8,7 @@ import { expect } from 'chai'; import { optimismTokens } from './tokens'; import { toCToken } from './configs'; -describe('Sonne WithdrawLogic', function () { +describe.skip('Sonne WithdrawLogic', function () { context('Test getTokenList', async function () { WithdrawLogic.supportedChainIds.forEach((chainId) => { it(`network: ${common.toNetworkId(chainId)}`, async function () { diff --git a/test/logics/radiant-v2/borrow.test.ts b/test/logics/radiant-v2/borrow.test.ts index dbae7a3c..c64c496a 100644 --- a/test/logics/radiant-v2/borrow.test.ts +++ b/test/logics/radiant-v2/borrow.test.ts @@ -7,7 +7,7 @@ import * as helpers from './helpers'; import hre from 'hardhat'; import * as radiantv2 from 'src/logics/radiant-v2'; -describe('mainnet-pb: Test RadiantV2 Borrow Logic', () => { +describe.skip('mainnet-pb: Test RadiantV2 Borrow Logic', () => { let chainId: number; let users: SignerWithAddress[]; diff --git a/test/logics/radiant-v2/deposit.test.ts b/test/logics/radiant-v2/deposit.test.ts index 89eab4a9..62e8d971 100644 --- a/test/logics/radiant-v2/deposit.test.ts +++ b/test/logics/radiant-v2/deposit.test.ts @@ -7,7 +7,7 @@ import hre from 'hardhat'; import * as radiantv2 from 'src/logics/radiant-v2'; import * as utils from 'test/utils'; -describe('mainnet-pb: Test RadiantV2 Deposit Logic', () => { +describe.skip('mainnet-pb: Test RadiantV2 Deposit Logic', () => { let chainId: number; let user: SignerWithAddress; diff --git a/test/logics/radiant-v2/flash-loan.test.ts b/test/logics/radiant-v2/flash-loan.test.ts index 24b595d7..84ac9115 100644 --- a/test/logics/radiant-v2/flash-loan.test.ts +++ b/test/logics/radiant-v2/flash-loan.test.ts @@ -8,7 +8,7 @@ import * as radiantv2 from 'src/logics/radiant-v2'; import * as utility from 'src/logics/utility'; import * as utils from 'test/utils'; -describe('mainnet-pb: Test RadiantV2 FlashLoan Logic', () => { +describe.skip('mainnet-pb: Test RadiantV2 FlashLoan Logic', () => { let chainId: number; let user: SignerWithAddress; diff --git a/test/logics/radiant-v2/repay.test.ts b/test/logics/radiant-v2/repay.test.ts index f90a5f97..53c2b350 100644 --- a/test/logics/radiant-v2/repay.test.ts +++ b/test/logics/radiant-v2/repay.test.ts @@ -8,7 +8,7 @@ import hre from 'hardhat'; import * as radiantv2 from 'src/logics/radiant-v2'; import * as utils from 'test/utils'; -describe('mainnet-pb: Test RadiantV2 Repay Logic', () => { +describe.skip('mainnet-pb: Test RadiantV2 Repay Logic', () => { let chainId: number; let users: SignerWithAddress[]; diff --git a/test/logics/radiant-v2/withdraw.test.ts b/test/logics/radiant-v2/withdraw.test.ts index ddd88b02..7cef4044 100644 --- a/test/logics/radiant-v2/withdraw.test.ts +++ b/test/logics/radiant-v2/withdraw.test.ts @@ -8,7 +8,7 @@ import hre from 'hardhat'; import * as radiantv2 from 'src/logics/radiant-v2'; import * as utils from 'test/utils'; -describe('mainnet-pb: Test RadiantV2 Withdraw Logic', () => { +describe.skip('mainnet-pb: Test RadiantV2 Withdraw Logic', () => { let chainId: number; let user: SignerWithAddress; diff --git a/test/logics/sonne/borrow.test.ts b/test/logics/sonne/borrow.test.ts index dd88da96..abc1fe87 100644 --- a/test/logics/sonne/borrow.test.ts +++ b/test/logics/sonne/borrow.test.ts @@ -9,7 +9,7 @@ import hre from 'hardhat'; import * as smartAccounts from '@protocolink/smart-accounts'; import * as sonne from 'src/logics/sonne'; -describe('optimism-pb: Test Sonne Borrow Logic', function () { +describe.skip('optimism-pb: Test Sonne Borrow Logic', function () { let chainId: number; let wallet: JsonRpcSigner; let walletAddress: string; diff --git a/test/logics/sonne/repay.test.ts b/test/logics/sonne/repay.test.ts index 6069891f..292a7e3b 100644 --- a/test/logics/sonne/repay.test.ts +++ b/test/logics/sonne/repay.test.ts @@ -9,7 +9,7 @@ import * as hrehelpers from '@nomicfoundation/hardhat-network-helpers'; import * as sonne from 'src/logics/sonne'; import * as utils from 'test/utils'; -describe('optimism-pb: Test Sonne Repay Logic', function () { +describe.skip('optimism-pb: Test Sonne Repay Logic', function () { let chainId: number; let user: SignerWithAddress; diff --git a/test/logics/sonne/supply.test.ts b/test/logics/sonne/supply.test.ts index f59278d4..43f6a670 100644 --- a/test/logics/sonne/supply.test.ts +++ b/test/logics/sonne/supply.test.ts @@ -7,7 +7,7 @@ import hre from 'hardhat'; import * as sonne from 'src/logics/sonne'; import * as utils from 'test/utils'; -describe('optimism-pb: Test Sonne Supply Logic', function () { +describe.skip('optimism-pb: Test Sonne Supply Logic', function () { let chainId: number; let user: SignerWithAddress; diff --git a/test/logics/sonne/withdraw.test.ts b/test/logics/sonne/withdraw.test.ts index ed9dca69..7f17920e 100644 --- a/test/logics/sonne/withdraw.test.ts +++ b/test/logics/sonne/withdraw.test.ts @@ -8,7 +8,7 @@ import hre from 'hardhat'; import * as sonne from 'src/logics/sonne'; import * as utils from 'test/utils'; -describe('optimism-pb: Test Sonne Withdraw Logic', function () { +describe.skip('optimism-pb: Test Sonne Withdraw Logic', function () { let chainId: number; let user: SignerWithAddress;