difftreelog
fix tests
in: master
2 files changed
tests/src/eth/nonFungible.test.tsdiffbeforeafterboth--- a/tests/src/eth/nonFungible.test.ts
+++ b/tests/src/eth/nonFungible.test.ts
@@ -684,7 +684,7 @@
const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner.eth);
const {tokenId} = await collection.mintToken(minter, {Ethereum: owner.eth});
- for (let i = 1n; i < 100n; i++) {
+ for (let i = 1n; i < 10n; i++) {
const ownerCross = await collectionEvm.methods.ownerOfCross(tokenId).call({from: owner.eth});
expect(ownerCross.eth).to.be.eq(owner.eth);
expect(ownerCross.sub).to.be.eq(owner.sub);
tests/src/eth/reFungible.test.tsdiffbeforeafterboth606 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner.eth);606 const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner.eth);607 const {tokenId} = await collection.mintToken(minter, 100n,{Ethereum: owner.eth});607 const {tokenId} = await collection.mintToken(minter, 100n,{Ethereum: owner.eth});608608609 for (let i = 1n; i < 100n; i++) {609 for (let i = 1n; i < 10n; i++) {610 const ownerCross = await collectionEvm.methods.ownerOfCross(tokenId).call({from: owner.eth});610 const ownerCross = await collectionEvm.methods.ownerOfCross(tokenId).call({from: owner.eth});611 expect(ownerCross.eth).to.be.eq(owner.eth);611 expect(ownerCross.eth).to.be.eq(owner.eth);612 expect(ownerCross.sub).to.be.eq(owner.sub);612 expect(ownerCross.sub).to.be.eq(owner.sub);