difftreelog
fix skip rmrk before
in: master
1 file changed
tests/src/rmrk/rmrkIsolation.test.tsdiffbeforeafterboth1import {executeTransaction} from '../substrate/substrate-api';1import {executeTransaction} from '../substrate/substrate-api';2import {IKeyringPair} from '@polkadot/types/types';2import {IKeyringPair} from '@polkadot/types/types';3import {itSub, expect, usingPlaygrounds, Pallets} from '../util/playgrounds';3import {itSub, expect, usingPlaygrounds, Pallets, requirePalletsOrSkip} from '../util/playgrounds';4import {UniqueHelper} from '../util/playgrounds/unique';4import {UniqueHelper} from '../util/playgrounds/unique';556let alice: IKeyringPair;6let alice: IKeyringPair;84 let rmrkNftId: number;84 let rmrkNftId: number;85 let normalizedAlice: {Substrate: string};85 let normalizedAlice: {Substrate: string};868687 before(async () => {87 before(async function() {88 await usingPlaygrounds(async (helper, privateKey) => {88 await usingPlaygrounds(async (helper, privateKey) => {89 alice = privateKey('//Alice');89 alice = privateKey('//Alice');90 bob = privateKey('//Bob');90 bob = privateKey('//Bob');91 normalizedAlice = {Substrate: helper.address.normalizeSubstrateToChainFormat(alice.address)};91 normalizedAlice = {Substrate: helper.address.normalizeSubstrateToChainFormat(alice.address)};9293 requirePalletsOrSkip(this, helper, [Pallets.RmrkCore]);929493 const collectionIds = await createRmrkCollection(helper, alice);95 const collectionIds = await createRmrkCollection(helper, alice);94 uniqueCollectionId = collectionIds.uniqueId;96 uniqueCollectionId = collectionIds.uniqueId;