From 614dfa01f81fea5064c172e43b266954c00ef362 Mon Sep 17 00:00:00 2001 From: Jakub Nowakowski Date: Tue, 9 Apr 2024 12:22:33 +0200 Subject: [PATCH] Define separate it for totalSupply check --- core/test/BitcoinRedeemer.test.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/core/test/BitcoinRedeemer.test.ts b/core/test/BitcoinRedeemer.test.ts index d4acc1d5e..2874cf9cd 100644 --- a/core/test/BitcoinRedeemer.test.ts +++ b/core/test/BitcoinRedeemer.test.ts @@ -214,13 +214,15 @@ describe("BitcoinRedeemer", () => { ) }) - it("should burn stBTC tokens", async () => { + it("should change stBTC tokens balance", async () => { await expect(tx).to.changeTokenBalances( stbtc, [depositor], [-stBtcAmountToRedeem], ) + }) + it("should burn stBTC tokens", async () => { expect(await stbtc.totalSupply()).to.be.equal( depositAmount - stBtcAmountToRedeem, )