We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f919bb3 commit 2638171Copy full SHA for 2638171
test/SBT.test.ts
@@ -139,6 +139,12 @@ describe('SBT', () => {
139
await expect(
140
sbt.connect(signers.minterUpdater).mint(signers.userA.address, metadata)
141
).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)
148
})
149
150
0 commit comments