From 3a46a68b1b97baf063c00e4a66b811e580f20932 Mon Sep 17 00:00:00 2001 From: Yaroslav Bolyukin Date: Tue, 30 May 2023 07:55:02 +0000 Subject: [PATCH] test: remove .only --- --- a/tests/src/benchmarks/utils/common.ts +++ b/tests/src/benchmarks/utils/common.ts @@ -91,4 +91,4 @@ await collection.setTokenPropertyPermissions(donor, permissions); return collection; -} \ No newline at end of file +} --- a/tests/src/creditFeesToTreasury.seqtest.ts +++ b/tests/src/creditFeesToTreasury.seqtest.ts @@ -88,7 +88,7 @@ expect(treasuryIncrease).to.be.equal(fee); }); - itSub.only('Treasury balance increased by failed tx fee', async ({helper}) => { + itSub('Treasury balance increased by failed tx fee', async ({helper}) => { const api = helper.getApi(); await helper.wait.newBlocks(1); --- a/tests/src/eth/collectionSponsoring.test.ts +++ b/tests/src/eth/collectionSponsoring.test.ts @@ -18,7 +18,7 @@ import {Pallets, requirePalletsOrSkip, usingPlaygrounds} from '../util/index'; import {itEth, expect} from './util'; -describe.only('evm nft collection sponsoring', () => { +describe('evm nft collection sponsoring', () => { let donor: IKeyringPair; let alice: IKeyringPair; let nominal: bigint; @@ -319,7 +319,7 @@ }); }); -describe.only('evm RFT collection sponsoring', () => { +describe('evm RFT collection sponsoring', () => { let donor: IKeyringPair; let alice: IKeyringPair; let nominal: bigint; --- a/tests/src/eth/createFTCollection.seqtest.ts +++ b/tests/src/eth/createFTCollection.seqtest.ts @@ -20,7 +20,7 @@ const DECIMALS = 18; -describe.only('Create FT collection from EVM', () => { +describe('Create FT collection from EVM', () => { let donor: IKeyringPair; before(async function() { --- a/tests/src/eth/createFTCollection.test.ts +++ b/tests/src/eth/createFTCollection.test.ts @@ -22,7 +22,7 @@ const DECIMALS = 18; -describe.only('Create FT collection from EVM', () => { +describe('Create FT collection from EVM', () => { let donor: IKeyringPair; before(async function() { @@ -129,7 +129,7 @@ }); }); -describe.only('(!negative tests!) Create FT collection from EVM', () => { +describe('(!negative tests!) Create FT collection from EVM', () => { let donor: IKeyringPair; let nominal: bigint; --- a/tests/src/eth/createNFTCollection.test.ts +++ b/tests/src/eth/createNFTCollection.test.ts @@ -21,7 +21,7 @@ import {COLLECTION_HELPER} from '../util'; -describe.only('Create NFT collection from EVM', () => { +describe('Create NFT collection from EVM', () => { let donor: IKeyringPair; before(async function () { @@ -143,7 +143,7 @@ }); }); -describe.only('(!negative tests!) Create NFT collection from EVM', () => { +describe('(!negative tests!) Create NFT collection from EVM', () => { let donor: IKeyringPair; let nominal: bigint; --- a/tests/src/eth/createRFTCollection.test.ts +++ b/tests/src/eth/createRFTCollection.test.ts @@ -21,7 +21,7 @@ import {CollectionLimitField} from './util/playgrounds/types'; -describe.only('Create RFT collection from EVM', () => { +describe('Create RFT collection from EVM', () => { let donor: IKeyringPair; before(async function() { @@ -154,7 +154,7 @@ }); }); -describe.only('(!negative tests!) Create RFT collection from EVM', () => { +describe('(!negative tests!) Create RFT collection from EVM', () => { let donor: IKeyringPair; let nominal: bigint; --- a/tests/src/eth/fractionalizer/fractionalizer.test.ts +++ b/tests/src/eth/fractionalizer/fractionalizer.test.ts @@ -80,7 +80,7 @@ }; -describe.only('Fractionalizer contract usage', () => { +describe('Fractionalizer contract usage', () => { let donor: IKeyringPair; before(async function() { --- a/tests/src/eth/nonFungible.test.ts +++ b/tests/src/eth/nonFungible.test.ts @@ -929,7 +929,7 @@ }); }); - itEth.only('Returns collection name', async ({helper}) => { + itEth('Returns collection name', async ({helper}) => { // FIXME: should not have balance to use .call() const caller = await helper.eth.createAccountWithBalance(donor); const tokenPropertyPermissions = [{ --- a/tests/src/eth/payable.test.ts +++ b/tests/src/eth/payable.test.ts @@ -41,7 +41,7 @@ expect(await contract.methods.getCollected().call()).to.be.equal('10000'); }); - itEth.only('Evm contract can receive wei from substrate account', async ({helper}) => { + itEth('Evm contract can receive wei from substrate account', async ({helper}) => { const deployer = await helper.eth.createAccountWithBalance(donor); const contract = await helper.eth.deployCollectorContract(deployer); const [alice] = await helper.arrange.createAccounts([40n], donor); --- a/tests/src/eth/reFungible.test.ts +++ b/tests/src/eth/reFungible.test.ts @@ -679,7 +679,7 @@ }); }); - itEth.only('Returns collection name', async ({helper}) => { + itEth('Returns collection name', async ({helper}) => { // FIXME: should not have balance to use .call() const caller = await helper.eth.createAccountWithBalance(alice); const tokenPropertyPermissions = [{ --- a/tests/src/eth/tokenProperties.test.ts +++ b/tests/src/eth/tokenProperties.test.ts @@ -314,7 +314,7 @@ expect(result.length).to.equal(0); })); - itEth.only('Can be read', async({helper}) => { + itEth('Can be read', async({helper}) => { // FIXME: User with no balance should be able to call const caller = await helper.eth.createAccountWithBalance(alice); const collection = await helper.nft.mintCollection(alice, { --- a/tests/src/maintenance.seqtest.ts +++ b/tests/src/maintenance.seqtest.ts @@ -325,7 +325,7 @@ expect(await helper.preimage.getPreimageInfo(preimageHashes[0])).to.have.property('unrequested'); }); - itSub.only('Does not allow execution of a preimage that would fail', async ({helper}) => { + itSub('Does not allow execution of a preimage that would fail', async ({helper}) => { const [zeroAccount] = await helper.arrange.createAccounts([0n], superuser); const preimage = helper.constructApiCall('api.tx.balances.forceTransfer', [ --- a/tests/src/vesting.test.ts +++ b/tests/src/vesting.test.ts @@ -103,7 +103,7 @@ expect(balanceSender.reserved).to.eq(0n); }); - itSub.only('cannot send more tokens than have', async ({helper}) => { + itSub('cannot send more tokens than have', async ({helper}) => { const [sender, receiver] = await helper.arrange.createAccounts([1000n, 1n], donor); const schedule = {start: 0n, period: 1n, periodCount: 1n, perPeriod: 100n * nominal}; const manyPeriodsSchedule = {start: 0n, period: 1n, periodCount: 100n, perPeriod: 10n * nominal}; -- gitstuff