git.delta.rocks / unique-network / refs/commits / 02103120d101

difftreelog

fix eslint errors and warnings in tests

Maksandre2022-08-09parent: #c2a1147.patch.diff
in: master

3 files changed

modifiedtests/src/fungible.test.tsdiffbeforeafterboth

no syntactic changes

modifiedtests/src/refungible.test.tsdiffbeforeafterboth
--- a/tests/src/refungible.test.ts
+++ b/tests/src/refungible.test.ts
@@ -16,7 +16,7 @@
 
 import {IKeyringPair} from '@polkadot/types/types';
 
-import { usingPlaygrounds } from './util/playgrounds';
+import {usingPlaygrounds} from './util/playgrounds';
 
 import chai from 'chai';
 import chaiAsPromised from 'chai-as-promised';
@@ -105,7 +105,7 @@
       await helper.rft.mintMultipleTokensWithOneOwner(alice, collection.collectionId, {Substrate: alice.address}, [
         {pieces: 1n}, 
         {pieces: 2n}, 
-        {pieces: 100n}
+        {pieces: 100n},
       ]);
       const lastTokenId = await collection.getLastTokenId();
       expect(lastTokenId).to.be.equal(3);
@@ -223,9 +223,9 @@
           collection.collectionId.toString(), 
           token.tokenId.toString(), 
           {Substrate: alice.address}, 
-          '100'
-        ]
-      }])
+          '100',
+        ],
+      }]);
     });
   });
 
@@ -243,9 +243,9 @@
           collection.collectionId.toString(), 
           token.tokenId.toString(), 
           {Substrate: alice.address}, 
-          '50'
-        ]
-      }])
+          '50',
+        ],
+      }]);
     });
   });
 });
modifiedtests/src/removeCollectionAdmin.test.tsdiffbeforeafterboth
--- a/tests/src/removeCollectionAdmin.test.ts
+++ b/tests/src/removeCollectionAdmin.test.ts
@@ -16,7 +16,7 @@
 
 import chai from 'chai';
 import chaiAsPromised from 'chai-as-promised';
-import { usingPlaygrounds } from './util/playgrounds';
+import {usingPlaygrounds} from './util/playgrounds';
 
 chai.use(chaiAsPromised);
 const expect = chai.expect;