Skip to content

Commit 38ea57a

Browse files
committed
address comments
1 parent a874025 commit 38ea57a

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/material/autocomplete/testing/autocomplete-harness.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,7 @@ export class MatAutocompleteHarness extends ComponentHarness {
4444

4545
/** Gets the value of the autocomplete input. */
4646
async getValue(): Promise<string> {
47-
// The "value" property of the native input is never undefined.
48-
return (await (await this.host()).getProperty('value'))!;
47+
return (await this.host()).getProperty('value');
4948
}
5049

5150
/** Gets a boolean promise indicating if the autocomplete input is disabled. */

0 commit comments

Comments
 (0)