From 0a94ed067eb303a7f0d7b214eb69a67bdedbfcaf Mon Sep 17 00:00:00 2001 From: Max Andreev Date: Thu, 27 Oct 2022 09:45:27 +0000 Subject: [PATCH] Fix eslint --- --- a/tests/src/eth/util/playgrounds/unique.dev.ts +++ b/tests/src/eth/util/playgrounds/unique.dev.ts @@ -188,7 +188,7 @@ return {collectionId, collectionAddress, events}; } - async createNFTCollection(signer: string, name: string, description: string, tokenPrefix: string): Promise<{ collectionId: number, collectionAddress: string, events: NormalizedEvent[] }> { + createNFTCollection(signer: string, name: string, description: string, tokenPrefix: string): Promise<{ collectionId: number, collectionAddress: string, events: NormalizedEvent[] }> { return this.createCollecion('createNFTCollection', signer, name, description, tokenPrefix); } @@ -202,7 +202,7 @@ return {collectionId, collectionAddress, events}; } - async createRFTCollection(signer: string, name: string, description: string, tokenPrefix: string): Promise<{collectionId: number, collectionAddress: string, events: NormalizedEvent[]}> { + createRFTCollection(signer: string, name: string, description: string, tokenPrefix: string): Promise<{collectionId: number, collectionAddress: string, events: NormalizedEvent[]}> { return this.createCollecion('createRFTCollection', signer, name, description, tokenPrefix); } --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -428,7 +428,7 @@ }); } - async noScheduledTasks() { + noScheduledTasks() { const api = this.helper.getApi(); // eslint-disable-next-line no-async-promise-executor @@ -446,7 +446,7 @@ return promise; } - async event(maxBlocksToWait: number, eventSection: string, eventMethod: string) { + event(maxBlocksToWait: number, eventSection: string, eventMethod: string) { // eslint-disable-next-line no-async-promise-executor const promise = new Promise(async (resolve) => { const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => { -- gitstuff