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

no syntactic changes

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
--- 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);