--- a/tests/src/eth/createNFTCollection.test.ts +++ b/tests/src/eth/createNFTCollection.test.ts @@ -47,6 +47,7 @@ expect(collection.name.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(collectionName); expect(collection.description.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(description); expect(collection.tokenPrefix.toHuman()).to.be.eq(tokenPrefix); + expect(collection.mode.isNft).to.be.true; }); itWeb3('Check collection address exist', async ({api, web3, privateKeyWrapper}) => { --- a/tests/src/eth/createRFTCollection.test.ts +++ b/tests/src/eth/createRFTCollection.test.ts @@ -47,6 +47,7 @@ expect(collection.name.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(collectionName); expect(collection.description.map(v => String.fromCharCode(v.toNumber())).join('')).to.be.eq(description); expect(collection.tokenPrefix.toHuman()).to.be.eq(tokenPrefix); + expect(collection.mode.isReFungible).to.be.true; }); itWeb3('Check collection address exist', async ({api, web3, privateKeyWrapper}) => {