From 8b0ce93028c8ac267da6b04f681eeb625f8e7f79 Mon Sep 17 00:00:00 2001 From: Trubnikov Sergey Date: Tue, 13 Dec 2022 09:13:56 +0000 Subject: [PATCH] fix: yarn fix --- --- a/tests/src/apiConsts.test.ts +++ b/tests/src/apiConsts.test.ts @@ -15,7 +15,6 @@ // along with Unique Network. If not, see . import {ApiPromise} from '@polkadot/api'; -import {ApiBase} from '@polkadot/api/base'; import {usingPlaygrounds, itSub, expect} from './util'; --- a/tests/src/eth/collectionProperties.test.ts +++ b/tests/src/eth/collectionProperties.test.ts @@ -14,7 +14,7 @@ // You should have received a copy of the GNU General Public License // along with Unique Network. If not, see . -import {itEth, usingEthPlaygrounds, expect, EthUniqueHelper} from './util'; +import {itEth, usingEthPlaygrounds, expect} from './util'; import {Pallets} from '../util'; import {IProperty, ITokenPropertyPermission} from '../util/playgrounds/types'; import {IKeyringPair} from '@polkadot/types/types'; --- a/tests/src/eth/events.test.ts +++ b/tests/src/eth/events.test.ts @@ -245,7 +245,7 @@ async function testCollectionOwnedChanged(helper: EthUniqueHelper, mode: TCollectionMode) { const owner = await helper.eth.createAccountWithBalance(donor); - const new_owner = helper.ethCrossAccount.createAccount(); + const newOwner = helper.ethCrossAccount.createAccount(); const {collectionAddress} = await helper.eth.createCollection(mode, owner, 'A', 'B', 'C'); const collection = await helper.ethNativeContract.collection(collectionAddress, mode, owner); const collectionHelper = helper.ethNativeContract.collectionHelpers(owner); @@ -255,7 +255,7 @@ }); const {unsubscribe, collectedEvents: subEvents} = await helper.subscribeEvents([{section: 'common', names: ['CollectionOwnerChanged']}]); { - await collection.methods.changeCollectionOwnerCross(new_owner).send({from: owner}); + await collection.methods.changeCollectionOwnerCross(newOwner).send({from: owner}); await helper.wait.newBlocks(1); expect(ethEvents).to.be.like([ { -- gitstuff