From c01d8f708b78718182ab7f078eb648ef86e8c305 Mon Sep 17 00:00:00 2001 From: jsy1218 <91580504+jsy1218@users.noreply.github.com> Date: Tue, 11 Feb 2025 15:42:45 -0800 Subject: [PATCH] fix unit test --- .../routers/alpha-router/functions/compute-all-routes.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/unit/routers/alpha-router/functions/compute-all-routes.test.ts b/test/unit/routers/alpha-router/functions/compute-all-routes.test.ts index dcd6c8e11..185bd53f6 100644 --- a/test/unit/routers/alpha-router/functions/compute-all-routes.test.ts +++ b/test/unit/routers/alpha-router/functions/compute-all-routes.test.ts @@ -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 => { @@ -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 => {