git.delta.rocks / unique-network / refs/commits / 2d2f157aedaf

difftreelog

fix yarn fix

Daniel Shiposha2023-04-12parent: #1b19b1f.patch.diff
in: master

4 files changed

modifiedtests/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,
                   },
                 },
               },
modifiedtests/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,
-    ); 
+    );
   }
 }
 
modifiedtests/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);
modifiedtests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth
691691
692 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;
696696
697 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;
701701
702 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);702 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
769769
770 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;
774774
775 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;
779779
780 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 });
12021202
1203 // eslint-disable-next-line require-await
1203 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 });
12061207
1208 // eslint-disable-next-line require-await
1207 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});
12111213
14651467
1466 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;
14701472
1471 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;
14751477
1476 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1478 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
15431545
1544 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;
15481550
1549 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;
15531555
1554 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);1556 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);