Skip to content

Commit

Permalink
Define separate it for totalSupply check
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed Apr 9, 2024
1 parent 5e23302 commit 614dfa0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion core/test/BitcoinRedeemer.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 614dfa0

Please sign in to comment.