git.delta.rocks / unique-network / refs/commits / 97b5bf9e9391

difftreelog

fix eslint and review suggestions

Max Andreev2022-08-23parent: #2eb5d08.patch.diff
in: master

2 files changed

modifiedtests/src/addCollectionAdmin.test.tsdiffbeforeafterboth
37 const {collectionId} = await helper.nft.mintCollection(alice, {name: 'Collection Name', description: 'Collection Description', tokenPrefix: 'COL'});37 const {collectionId} = await helper.nft.mintCollection(alice, {name: 'Collection Name', description: 'Collection Description', tokenPrefix: 'COL'});
3838
39 const collection = await helper.collection.getData(collectionId);39 const collection = await helper.collection.getData(collectionId);
40 expect(collection?.normalizedOwner!).to.be.equal(alice.address);40 expect(collection!.normalizedOwner!).to.be.equal(alice.address);
4141
42 await helper.nft.addAdmin(alice, collectionId, {Substrate: bob.address});42 await helper.nft.addAdmin(alice, collectionId, {Substrate: bob.address});
4343
modifiedtests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth
--- a/tests/src/util/playgrounds/unique.dev.ts
+++ b/tests/src/util/playgrounds/unique.dev.ts
@@ -12,11 +12,11 @@
   /**
    * Arrange methods for tests
    */
-  arrange: UniqueArrange;
+  arrange: ArrangeGroup;
 
   constructor(logger: { log: (msg: any, level: any) => void, level: any }) {
     super(logger);
-    this.arrange = new UniqueArrange(this);
+    this.arrange = new ArrangeGroup(this);
   }
 
   async connect(wsEndpoint: string, listeners?: any): Promise<void> {
@@ -55,7 +55,7 @@
   }
 }
 
-class UniqueArrange {
+class ArrangeGroup {
   helper: UniqueHelper;
 
   constructor(helper: UniqueHelper) {