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 e173322 commit 406620fCopy full SHA for 406620f
src/material/dialog/testing/dialog-harness.ts
@@ -61,7 +61,7 @@ export class MatDialogHarness extends ComponentHarness {
61
/**
62
* Closes the dialog by pressing escape.
63
*
64
- * 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.
65
*/
66
async close(): Promise<void> {
67
await (await this.host()).sendKeys(TestKey.ESCAPE);
0 commit comments