From c5509f3fbc2fa013513c3acf756b0069d2fbf283 Mon Sep 17 00:00:00 2001 From: Rubilmax Date: Wed, 17 Jul 2024 14:30:26 +0200 Subject: [PATCH] test(ethers): decrease calls length --- packages/blue-sdk-ethers/test/Market.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/blue-sdk-ethers/test/Market.test.ts b/packages/blue-sdk-ethers/test/Market.test.ts index 17cf6f64..9a0a9705 100644 --- a/packages/blue-sdk-ethers/test/Market.test.ts +++ b/packages/blue-sdk-ethers/test/Market.test.ts @@ -51,7 +51,7 @@ describe("augment/Market", () => { const value = await Market.fetch(MAINNET_MARKETS.usdc_wstEth.id, signer); expect(value).to.eql(expectedData); - expect((signer.provider.call as SinonSpy).getCalls()).to.have.length(4); + expect((signer.provider.call as SinonSpy).getCalls()).to.have.length(3); }); it("should fetch market data from config", async () => { @@ -92,7 +92,7 @@ describe("augment/Market", () => { const value = await Market.fetch(MAINNET_MARKETS.idle_usdc.id, signer); expect(value).to.eql(expectedData); - expect((signer.provider.call as SinonSpy).getCalls()).to.have.length(2); + expect((signer.provider.call as SinonSpy).getCalls()).to.have.length(1); }); it("should not fetch rate at target for unknown irm", async () => {