Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
jsy1218 committed Feb 11, 2025
1 parent b84d6d3 commit c01d8f7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ describe('compute all mixed routes', () => {
USDC_WETH_LOW, // V3 pool
ETH_USDT_V4_LOW
];
const routes = computeAllMixedRoutes(USDC, USDT, pools, 2);
const routes = computeAllMixedRoutes(USDC, USDT, pools, 2, true);
expect(routes.length).toBeGreaterThan(0);
// Routes should not include both ETH and WETH fake pools
routes.forEach(route => {
Expand All @@ -318,7 +318,7 @@ describe('compute all mixed routes', () => {
ETH_USDT_V4_LOW,
USDC_WETH_LOW
];
const routes = computeAllMixedRoutes(USDT, USDC, pools, 2);
const routes = computeAllMixedRoutes(USDT, USDC, pools, 2, true);
expect(routes.length).toBeGreaterThan(0);
// Routes should not include both ETH and WETH fake pools
routes.forEach(route => {
Expand Down

0 comments on commit c01d8f7

Please sign in to comment.