[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

@@ -61,7 +61,7 @@ export class ShareDialog {
async getShareLink(): Promise<string> {
await BrowserVisibility.waitUntilElementIsVisible(this.shareLink);
return await this.shareLink.getAttribute('value');
return this.shareLink.getAttribute('value');
}
async clickCloseButton(): Promise<void> {
@@ -120,7 +120,7 @@ export class ShareDialog {
}
async getExpirationDate(): Promise<string> {
return await this.expirationDateInput.getAttribute('value');
return this.expirationDateInput.getAttribute('value');
}
async expirationDateInputHasValue(value): Promise<void> {