From 9b2173267cfca1a84d5fa2db33a0bca34c3dbea8 Mon Sep 17 00:00:00 2001 From: bayge Date: Wed, 14 Aug 2024 22:59:52 +0930 Subject: [PATCH] Remove test without any asserts --- web/__tests__/01_lib_math/002_delta.test.ts | 9 --------- 1 file changed, 9 deletions(-) diff --git a/web/__tests__/01_lib_math/002_delta.test.ts b/web/__tests__/01_lib_math/002_delta.test.ts index 4db934be..513048de 100644 --- a/web/__tests__/01_lib_math/002_delta.test.ts +++ b/web/__tests__/01_lib_math/002_delta.test.ts @@ -21,13 +21,4 @@ describe("Liquidity math", () => { expect(getSqrtRatioAtTick(BigInt(MIN_TICK))).toEqual(MIN_SQRT_RATIO); expect(getSqrtRatioAtTick(BigInt(MAX_TICK))).toEqual(MAX_SQRT_RATIO); }); - - it("Should convert liquidity to amounts correctly", () => { - const [amount0, amount1] = getAmountsForLiquidity( - encodeSqrtPrice(1), // sqrtRatioX96 - encodeSqrtPrice(0.9090909090909091), // sqrtRatioAX96 - encodeSqrtPrice(1.1), // sqrtRatioBX96 - 2148n, // liquidity - ); - }); });