difftreelog
Fix test
in: master
1 file changed
tests/src/eth/collectionLimits.test.tsdiffbeforeafterboth116 .setCollectionLimit(CollectionLimits.TransferEnabled, true, 3)116 .setCollectionLimit(CollectionLimits.TransferEnabled, true, 3)117 .call()).to.be.rejectedWith(`can't convert value to boolean "${invalidLimits.transfersEnabled}"`);117 .call()).to.be.rejectedWith(`can't convert value to boolean "${invalidLimits.transfersEnabled}"`);118118119 await expect(collectionEvm.methods119 expect(() => collectionEvm.methods120 .setCollectionLimit(CollectionLimits.SponsoredDataSize, true, -1)120 .setCollectionLimit(CollectionLimits.SponsoredDataSize, true, -1).send()).to.throw('value out-of-bounds');121 .call()).to.be.rejectedWith('Error: value out-of-bounds (argument="value", value=-1, code=INVALID_ARGUMENT');122 }));121 }));123});122});124123