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
689689
690 expect(690 expect(
691 xcmpQueueFailEvent != null,691 xcmpQueueFailEvent != null,
692 `'xcmpQueue.FailEvent' event is expected`,692 '\'xcmpQueue.FailEvent\' event is expected',
693 ).to.be.true;693 ).to.be.true;
694694
695 expect(695 expect(
696 xcmpQueueFailEvent!.isFailedToTransactAsset,696 xcmpQueueFailEvent!.isFailedToTransactAsset,
697 `The XCM error should be 'FailedToTransactAsset'`,697 'The XCM error should be \'FailedToTransactAsset\'',
698 ).to.be.true;698 ).to.be.true;
699699
700 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);700 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
767767
768 expect(768 expect(
769 xcmpQueueFailEvent != null,769 xcmpQueueFailEvent != null,
770 `'xcmpQueue.FailEvent' event is expected`,770 '\'xcmpQueue.FailEvent\' event is expected',
771 ).to.be.true;771 ).to.be.true;
772772
773 expect(773 expect(
774 xcmpQueueFailEvent!.isUntrustedReserveLocation,774 xcmpQueueFailEvent!.isUntrustedReserveLocation,
775 `The XCM error should be 'isUntrustedReserveLocation'`,775 'The XCM error should be \'isUntrustedReserveLocation\'',
776 ).to.be.true;776 ).to.be.true;
777777
778 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);778 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);
1197 expect(qtzFees == 0n).to.be.true;1197 expect(qtzFees == 0n).to.be.true;
1198 });1198 });
11991199
1200 // eslint-disable-next-line require-await
1200 itSub.skip('Moonriver can send only up to its balance', async ({helper}) => {1201 itSub.skip('Moonriver can send only up to its balance', async ({helper}) => {
1201 throw Error("Not yet implemented");1202 throw Error('Not yet implemented');
1202 });1203 });
12031204
1205 // eslint-disable-next-line require-await
1204 itSub.skip('Should not accept reserve transfer of QTZ from Moonriver', async ({helper}) => {1206 itSub.skip('Should not accept reserve transfer of QTZ from Moonriver', async ({helper}) => {
1205 throw Error("Not yet implemented");1207 throw Error('Not yet implemented');
1206 });1208 });
1207});1209});
12081210
14631465
1464 expect(1466 expect(
1465 xcmpQueueFailEvent != null,1467 xcmpQueueFailEvent != null,
1466 `'xcmpQueue.FailEvent' event is expected`,1468 '\'xcmpQueue.FailEvent\' event is expected',
1467 ).to.be.true;1469 ).to.be.true;
14681470
1469 expect(1471 expect(
1470 xcmpQueueFailEvent!.isFailedToTransactAsset,1472 xcmpQueueFailEvent!.isFailedToTransactAsset,
1471 `The XCM error should be 'FailedToTransactAsset'`,1473 'The XCM error should be \'FailedToTransactAsset\'',
1472 ).to.be.true;1474 ).to.be.true;
14731475
1474 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);1476 targetAccountBalance = await helper.balance.getSubstrate(targetAccount.address);
15411543
1542 expect(1544 expect(
1543 xcmpQueueFailEvent != null,1545 xcmpQueueFailEvent != null,
1544 `'xcmpQueue.FailEvent' event is expected`,1546 '\'xcmpQueue.FailEvent\' event is expected',
1545 ).to.be.true;1547 ).to.be.true;
15461548
1547 expect(1549 expect(
1548 xcmpQueueFailEvent!.isUntrustedReserveLocation,1550 xcmpQueueFailEvent!.isUntrustedReserveLocation,
1549 `The XCM error should be 'isUntrustedReserveLocation'`,1551 'The XCM error should be \'isUntrustedReserveLocation\'',
1550 ).to.be.true;1552 ).to.be.true;
15511553
1552 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);1554 const accountBalance = await helper.balance.getSubstrate(targetAccount.address);
modifiedtests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth
--- 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);