We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a874025 commit 38ea57aCopy full SHA for 38ea57a
src/material/autocomplete/testing/autocomplete-harness.ts
@@ -44,8 +44,7 @@ export class MatAutocompleteHarness extends ComponentHarness {
44
45
/** Gets the value of the autocomplete input. */
46
async getValue(): Promise<string> {
47
- // The "value" property of the native input is never undefined.
48
- return (await (await this.host()).getProperty('value'))!;
+ return (await this.host()).getProperty('value');
49
}
50
51
/** Gets a boolean promise indicating if the autocomplete input is disabled. */
0 commit comments