From 98e90bdc93551f2585b20609a4034f6e4bcafc7a Mon Sep 17 00:00:00 2001 From: Rubilmax Date: Mon, 20 May 2024 18:10:20 +0200 Subject: [PATCH] test(pkg): update error messages --- test/multicall-provider.spec.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/multicall-provider.spec.ts b/test/multicall-provider.spec.ts index c72d860..1e87ea8 100644 --- a/test/multicall-provider.spec.ts +++ b/test/multicall-provider.spec.ts @@ -189,7 +189,7 @@ describe("ethers-multicall-provider", () => { it("should throw a descriptive Error when querying unknown contract", async () => { await expect(unknownUni.symbol()).rejects.toEqual( new Error( - `could not decode result data (value="0x", info={ "method": "symbol", "signature": "symbol()" }, code=BAD_DATA, version=6.11.1)` + `could not decode result data (value="0x", info={ "method": "symbol", "signature": "symbol()" }, code=BAD_DATA, version=6.12.1)` ) ); }); @@ -205,7 +205,7 @@ describe("ethers-multicall-provider", () => { expect(unknownUni.symbol().catch(() => "UNI")).resolves.toEqual("UNI"); await expect(unknownUni.symbol()).rejects.toEqual( new Error( - `could not decode result data (value="0x", info={ "method": "symbol", "signature": "symbol()" }, code=BAD_DATA, version=6.11.1)` + `could not decode result data (value="0x", info={ "method": "symbol", "signature": "symbol()" }, code=BAD_DATA, version=6.12.1)` ) ); }); @@ -217,7 +217,7 @@ describe("ethers-multicall-provider", () => { expect(uni.symbol(overrides).catch(() => "UNI")).resolves.toEqual("UNI"); await expect(unknownUni.symbol(overrides)).rejects.toEqual( new Error( - `could not decode result data (value="0x", info={ "method": "symbol", "signature": "symbol()" }, code=BAD_DATA, version=6.11.1)` + `could not decode result data (value="0x", info={ "method": "symbol", "signature": "symbol()" }, code=BAD_DATA, version=6.12.1)` ) ); });