difftreelog
Fix eslint
in: master
2 files changed
tests/src/eth/util/playgrounds/unique.dev.tsdiffbeforeafterboth--- 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);
}
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth428 });428 });429 }429 }430430431 async noScheduledTasks() {431 noScheduledTasks() {432 const api = this.helper.getApi();432 const api = this.helper.getApi();433 433 434 // eslint-disable-next-line no-async-promise-executor434 // eslint-disable-next-line no-async-promise-executor446 return promise;446 return promise;447 }447 }448448449 async event(maxBlocksToWait: number, eventSection: string, eventMethod: string) {449 event(maxBlocksToWait: number, eventSection: string, eventMethod: string) {450 // eslint-disable-next-line no-async-promise-executor450 // eslint-disable-next-line no-async-promise-executor451 const promise = new Promise<EventRecord | null>(async (resolve) => {451 const promise = new Promise<EventRecord | null>(async (resolve) => {452 const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => {452 const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => {