difftreelog
fix yarn fix
in: master
4 files changed
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- 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,
},
},
},
tests/src/util/playgrounds/unique.tsdiffbeforeafterboth--- a/tests/src/util/playgrounds/unique.ts
+++ b/tests/src/util/playgrounds/unique.ts
@@ -3031,7 +3031,7 @@
message,
],
true,
- );
+ );
}
}
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth--- 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);
tests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth691691692 expect(692 expect(693 xcmpQueueFailEvent != null,693 xcmpQueueFailEvent != null,694 `'xcmpQueue.FailEvent' event is expected`,694 '\'xcmpQueue.FailEvent\' event is expected',695 ).to.be.true;695 ).to.be.true;696696697 expect(697 expect(698 xcmpQueueFailEvent!.isFailedToTransactAsset,698 xcmpQueueFailEvent!.isFailedToTransactAsset,699 `The XCM error should be 'FailedToTransactAsset'`,699 'The XCM error should be \'FailedToTransactAsset\'',700 ).to.be.true;700 ).to.be.true;701701702 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);702 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);769769770 expect(770 expect(771 xcmpQueueFailEvent != null,771 xcmpQueueFailEvent != null,772 `'xcmpQueue.FailEvent' event is expected`,772 '\'xcmpQueue.FailEvent\' event is expected',773 ).to.be.true;773 ).to.be.true;774774775 expect(775 expect(776 xcmpQueueFailEvent!.isUntrustedReserveLocation,776 xcmpQueueFailEvent!.isUntrustedReserveLocation,777 `The XCM error should be 'isUntrustedReserveLocation'`,777 'The XCM error should be \'isUntrustedReserveLocation\'',778 ).to.be.true;778 ).to.be.true;779779780 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);780 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);1200 expect(unqFees == 0n).to.be.true;1200 expect(unqFees == 0n).to.be.true;1201 });1201 });120212021203 // eslint-disable-next-line require-await1203 itSub.skip('Moonbeam can send only up to its balance', async ({helper}) => {1204 itSub.skip('Moonbeam can send only up to its balance', async ({helper}) => {1204 throw Error("Not yet implemented");1205 throw Error('Not yet implemented');1205 });1206 });120612071208 // eslint-disable-next-line require-await1207 itSub.skip('Should not accept reserve transfer of UNQ from Moonbeam', async ({helper}) => {1209 itSub.skip('Should not accept reserve transfer of UNQ from Moonbeam', async ({helper}) => {1208 throw Error("Not yet implemented");1210 throw Error('Not yet implemented');1209 });1211 });1210});1212});12111213146514671466 expect(1468 expect(1467 xcmpQueueFailEvent != null,1469 xcmpQueueFailEvent != null,1468 `'xcmpQueue.FailEvent' event is expected`,1470 '\'xcmpQueue.FailEvent\' event is expected',1469 ).to.be.true;1471 ).to.be.true;147014721471 expect(1473 expect(1472 xcmpQueueFailEvent!.isFailedToTransactAsset,1474 xcmpQueueFailEvent!.isFailedToTransactAsset,1473 `The XCM error should be 'FailedToTransactAsset'`,1475 'The XCM error should be \'FailedToTransactAsset\'',1474 ).to.be.true;1476 ).to.be.true;147514771476 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1478 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);154315451544 expect(1546 expect(1545 xcmpQueueFailEvent != null,1547 xcmpQueueFailEvent != null,1546 `'xcmpQueue.FailEvent' event is expected`,1548 '\'xcmpQueue.FailEvent\' event is expected',1547 ).to.be.true;1549 ).to.be.true;154815501549 expect(1551 expect(1550 xcmpQueueFailEvent!.isUntrustedReserveLocation,1552 xcmpQueueFailEvent!.isUntrustedReserveLocation,1551 `The XCM error should be 'isUntrustedReserveLocation'`,1553 'The XCM error should be \'isUntrustedReserveLocation\'',1552 ).to.be.true;1554 ).to.be.true;155315551554 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);1556 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);