From ee6bd5aaaeca89c75fe233e6a93f050d01413a38 Mon Sep 17 00:00:00 2001 From: kvhnuke <10602065+kvhnuke@users.noreply.github.com> Date: Wed, 20 Mar 2024 13:27:06 -0700 Subject: [PATCH] =?UTF-8?q?fix:=20=F0=9F=90=9B=20tests?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/swap/tests/changelly.test.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/swap/tests/changelly.test.ts b/packages/swap/tests/changelly.test.ts index 7eb063e38..387ce6401 100644 --- a/packages/swap/tests/changelly.test.ts +++ b/packages/swap/tests/changelly.test.ts @@ -39,9 +39,7 @@ describe("Changelly Provider", () => { expect(quote?.quote.meta.walletIdentifier).to.be.eq( WalletIdentifier.enkrypt ); - expect(quote?.fromTokenAmount.toString()).to.be.eq( - quote?.minMax.minimumFrom.toString() - ); + expect(quote?.fromTokenAmount.toString()).to.be.eq(amount.toString()); expect(quote?.toTokenAmount.gtn(0)).to.be.eq(true); const swap = await changelly.getSwap(quote!.quote);