difftreelog
fix eslint and review suggestions
in: master
2 files changed
tests/src/addCollectionAdmin.test.tsdiffbeforeafterboth37 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'});383839 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);414142 await helper.nft.addAdmin(alice, collectionId, {Substrate: bob.address});42 await helper.nft.addAdmin(alice, collectionId, {Substrate: bob.address});4343tests/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) {