Skip to content

Commit

Permalink
Fix failing test (not enough pool liquidity) (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
ChiTimesChi authored Dec 21, 2023
1 parent 09bd330 commit 8c7ea44
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions packages/sdk-router/src/sdk.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -237,15 +237,15 @@ describe('SynapseSDK', () => {
)
})

describe('ETH USDC -> ARB USDC.e (excludeCCTP flag omitted)', () => {
// Try to find ETH USDC -> ARB USDC.e quote for 1M USDC,
describe('ETH USDC -> ARB USDT (excludeCCTP flag omitted)', () => {
// Try to find ETH USDC -> ARB USDT quote for 1M USDC,
// which by default is routed through USDC
const amount = BigNumber.from(10).pow(12)
const resultPromise: Promise<BridgeQuote> = synapse.bridgeQuote(
SupportedChainId.ETH,
SupportedChainId.ARBITRUM,
ETH_USDC,
ARB_USDC_E,
ARB_USDT,
amount
)

Expand Down Expand Up @@ -274,15 +274,15 @@ describe('SynapseSDK', () => {
})
})

describe('ETH USDC -> ARB USDC.e (excludeCCTP flag off)', () => {
// Try to find ETH USDC -> ARB USDC.e quote for 1M USDC,
describe('ETH USDC -> ARB USDT (excludeCCTP flag off)', () => {
// Try to find ETH USDC -> ARB USDT quote for 1M USDC,
// which by default is routed through USDC
const amount = BigNumber.from(10).pow(12)
const resultPromise: Promise<BridgeQuote> = synapse.bridgeQuote(
SupportedChainId.ETH,
SupportedChainId.ARBITRUM,
ETH_USDC,
ARB_USDC_E,
ARB_USDT,
amount,
undefined,
false
Expand Down Expand Up @@ -313,15 +313,15 @@ describe('SynapseSDK', () => {
})
})

describe('ETH USDC -> ARB USDC.e (excludeCCTP flag on)', () => {
// Try to find ETH USDC -> ARB USDC.e quote for 1M USDC,
describe('ETH USDC -> ARB USDT (excludeCCTP flag on)', () => {
// Try to find ETH USDC -> ARB USDT quote for 1M USDC,
// which by default is routed through USDC
const amount = BigNumber.from(10).pow(12)
const resultPromise: Promise<BridgeQuote> = synapse.bridgeQuote(
SupportedChainId.ETH,
SupportedChainId.ARBITRUM,
ETH_USDC,
ARB_USDC_E,
ARB_USDT,
amount,
undefined,
true
Expand Down

0 comments on commit 8c7ea44

Please sign in to comment.