Skip to content

Commit

Permalink
test(Password): Fix tests by adding await
Browse files Browse the repository at this point in the history
  • Loading branch information
geoffreykwan committed Oct 9, 2023
1 parent 6ad1fd2 commit 2ef2e5b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@ export class NewPasswordAndConfirmHarness extends ComponentHarness {
}

async setNewPassword(value: string): Promise<void> {
this.setPassword(value, false);
await this.setPassword(value, false);
}

async setConfirmNewPassword(value: string): Promise<void> {
this.setPassword(value, true);
await this.setPassword(value, true);
}

async setPassword(value: string, isConfirm: boolean): Promise<void> {
Expand Down

0 comments on commit 2ef2e5b

Please sign in to comment.