difftreelog
fix test
in: master
1 file changed
tests/src/nativeFungible.test.tsdiffbeforeafterboth18import {expect, itSub, usingPlaygrounds} from './util';18import {expect, itSub, usingPlaygrounds} from './util';191920describe('Native fungible', () => {20describe('Native fungible', () => {21 let root: IKeyringPair;21 let alice: IKeyringPair;22 let alice: IKeyringPair;22 let bob: IKeyringPair;23 let bob: IKeyringPair;232424 before(async () => {25 before(async () => {25 await usingPlaygrounds(async (helper, privateKey) => {26 await usingPlaygrounds(async (helper, privateKey) => {27 root = await privateKey('//Alice');26 const donor = await privateKey({url: import.meta.url});28 const donor = await privateKey({url: import.meta.url});27 [alice, bob] = await helper.arrange.createAccounts([10n, 10n], donor);29 [alice, bob] = await helper.arrange.createAccounts([10n, 10n], donor);28 });30 });199 });201 });200202201 itSub('force_repair_item()', async ({helper}) => {203 itSub('force_repair_item()', async ({helper}) => {202 await expect(helper.executeExtrinsic(204 await expect(helper.getSudo().executeExtrinsic(203 alice,205 root,204 'api.tx.unique.forceRepairItem',206 'api.tx.unique.forceRepairItem',205 [0, 0],207 [0, 0],206 true,208 true,207 )).to.be.rejectedWith('BadOrigin');209 )).to.be.rejectedWith('common.UnsupportedOperation');208 });210 });209211210 itSub('Nest into NFT token()', async ({helper}) => {212 itSub('Nest into NFT token()', async ({helper}) => {