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 952a282 commit 4147409Copy full SHA for 4147409
src/material/dialog/testing/dialog-harness.ts
@@ -58,7 +58,7 @@ export class MatDialogHarness extends ComponentHarness {
58
/**
59
* Closes the dialog by pressing escape.
60
*
61
- * Note: this method cannot be used if `disableClose` has been set to `true` for the dialog.
+ * Note: this method does nothing if `disableClose` has been set to `true` for the dialog.
62
*/
63
async close(): Promise<void> {
64
await (await this.host()).sendKeys(TestKey.ESCAPE);
0 commit comments