From a1d8979156dfbeb4d4f3e0d3de9e6a28711d669d Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Wed, 19 Apr 2023 05:36:59 +0000 Subject: [PATCH] fix: tests --- --- 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); --- a/tests/src/eth/reFungible.test.ts +++ b/tests/src/eth/reFungible.test.ts @@ -606,7 +606,7 @@ const collectionEvm = await helper.ethNativeContract.collection(collectionAddress, 'nft', owner.eth); const {tokenId} = await collection.mintToken(minter, 100n,{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); -- gitstuff