[AAE-726] Add new return await rule (#5203)

* add new return await rule

* update tslint

* add lint exception
This commit is contained in:
Eugenio Romano
2019-10-30 19:29:43 +00:00
committed by Denys Vuika
parent a4730cd9cf
commit 2e046945c7
48 changed files with 308 additions and 305 deletions

View File

@@ -138,7 +138,7 @@ export class DataTablePage {
}
async getCopyContentTooltip(): Promise<string> {
return await this.dataTable.getCopyContentTooltip();
return this.dataTable.getCopyContentTooltip();
}
async mouseOverNameColumn(name: string): Promise<void> {
@@ -191,6 +191,6 @@ export class DataTablePage {
async getClipboardInputText(): Promise<string> {
await BrowserVisibility.waitUntilElementIsVisible(this.pasteClipboardInput);
return await this.pasteClipboardInput.getAttribute('value');
return this.pasteClipboardInput.getAttribute('value');
}
}