Skip to content

Commit 03ed609

Browse files
committed
address comments
1 parent 3ea9b05 commit 03ed609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class MatDialogHarness extends ComponentHarness {
5858
/**
5959
* Closes the dialog by pressing escape.
6060
*
61-
* Note: this method cannot be used if `disableClose` has been set to `true` for the dialog.
61+
* Note: this method does nothing if `disableClose` has been set to `true` for the dialog.
6262
*/
6363
async close(): Promise<void> {
6464
await (await this.host()).sendKeys(TestKey.ESCAPE);

0 commit comments

Comments
 (0)