--- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -442,13 +442,13 @@ Fungible: amount, }, }, - weightLimit: 'Unlimited' + weightLimit: 'Unlimited', }, }, { DepositAsset: { assets: { - Wild: 'All' + Wild: 'All', }, maxAssets: 1, beneficiary: { @@ -457,7 +457,7 @@ X1: { AccountId32: { network: 'Any', - id: beneficiary + id: beneficiary, }, }, }, @@ -489,13 +489,13 @@ Fungible: amount, }, }, - weightLimit: 'Unlimited' + weightLimit: 'Unlimited', }, }, { DepositAsset: { assets: { - Wild: 'All' + Wild: 'All', }, maxAssets: 1, beneficiary: { @@ -504,7 +504,7 @@ X1: { AccountId32: { network: 'Any', - id: beneficiary + id: beneficiary, }, }, }, --- a/tests/src/util/playgrounds/unique.ts +++ b/tests/src/util/playgrounds/unique.ts @@ -3031,7 +3031,7 @@ message, ], true, - ); + ); } } --- a/tests/src/xcm/xcmQuartz.test.ts +++ b/tests/src/xcm/xcmQuartz.test.ts @@ -689,12 +689,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isFailedToTransactAsset, - `The XCM error should be 'FailedToTransactAsset'`, + 'The XCM error should be \'FailedToTransactAsset\'', ).to.be.true; targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address); @@ -767,12 +767,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isUntrustedReserveLocation, - `The XCM error should be 'isUntrustedReserveLocation'`, + 'The XCM error should be \'isUntrustedReserveLocation\'', ).to.be.true; const accountBalance = await helper.balance.getSubstrate(targetAccount.address); @@ -1197,12 +1197,14 @@ expect(qtzFees == 0n).to.be.true; }); + // eslint-disable-next-line require-await itSub.skip('Moonriver can send only up to its balance', async ({helper}) => { - throw Error("Not yet implemented"); + throw Error('Not yet implemented'); }); + // eslint-disable-next-line require-await itSub.skip('Should not accept reserve transfer of QTZ from Moonriver', async ({helper}) => { - throw Error("Not yet implemented"); + throw Error('Not yet implemented'); }); }); @@ -1463,12 +1465,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isFailedToTransactAsset, - `The XCM error should be 'FailedToTransactAsset'`, + 'The XCM error should be \'FailedToTransactAsset\'', ).to.be.true; targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address); @@ -1541,12 +1543,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isUntrustedReserveLocation, - `The XCM error should be 'isUntrustedReserveLocation'`, + 'The XCM error should be \'isUntrustedReserveLocation\'', ).to.be.true; const accountBalance = await helper.balance.getSubstrate(targetAccount.address); --- a/tests/src/xcm/xcmUnique.test.ts +++ b/tests/src/xcm/xcmUnique.test.ts @@ -691,12 +691,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isFailedToTransactAsset, - `The XCM error should be 'FailedToTransactAsset'`, + 'The XCM error should be \'FailedToTransactAsset\'', ).to.be.true; targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address); @@ -769,12 +769,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isUntrustedReserveLocation, - `The XCM error should be 'isUntrustedReserveLocation'`, + 'The XCM error should be \'isUntrustedReserveLocation\'', ).to.be.true; const accountBalance = await helper.balance.getSubstrate(targetAccount.address); @@ -1200,12 +1200,14 @@ expect(unqFees == 0n).to.be.true; }); + // eslint-disable-next-line require-await itSub.skip('Moonbeam can send only up to its balance', async ({helper}) => { - throw Error("Not yet implemented"); + throw Error('Not yet implemented'); }); + // eslint-disable-next-line require-await itSub.skip('Should not accept reserve transfer of UNQ from Moonbeam', async ({helper}) => { - throw Error("Not yet implemented"); + throw Error('Not yet implemented'); }); }); @@ -1465,12 +1467,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isFailedToTransactAsset, - `The XCM error should be 'FailedToTransactAsset'`, + 'The XCM error should be \'FailedToTransactAsset\'', ).to.be.true; targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address); @@ -1543,12 +1545,12 @@ expect( xcmpQueueFailEvent != null, - `'xcmpQueue.FailEvent' event is expected`, + '\'xcmpQueue.FailEvent\' event is expected', ).to.be.true; expect( xcmpQueueFailEvent!.isUntrustedReserveLocation, - `The XCM error should be 'isUntrustedReserveLocation'`, + 'The XCM error should be \'isUntrustedReserveLocation\'', ).to.be.true; const accountBalance = await helper.balance.getSubstrate(targetAccount.address);