Skip to content

Commit 2638171

Browse files
author
Yash Agrawal
committed
feat: update the test case for mint
1 parent f919bb3 commit 2638171

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

test/SBT.test.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,6 +139,12 @@ describe('SBT', () => {
139139
await expect(
140140
sbt.connect(signers.minterUpdater).mint(signers.userA.address, metadata)
141141
).to.be.revertedWith('Illegal access')
142+
143+
const tokensOfUserA = await sbt.tokensOfOwner(signers.userA.address)
144+
expect(tokensOfUserA.length).to.eq(0)
145+
expect(await sbt.totalSupply()).to.eq(0)
146+
expect(await sbt.currentIndex()).to.eq(0)
147+
expect(await sbt.balanceOf(signers.userA.address)).to.eq(0)
142148
})
143149
})
144150
})

0 commit comments

Comments
 (0)