Skip to content

Commit 406620f

Browse files
committed
address comments
1 parent e173322 commit 406620f

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
@@ -61,7 +61,7 @@ export class MatDialogHarness extends ComponentHarness {
6161
/**
6262
* Closes the dialog by pressing escape.
6363
*
64-
* Note: this method cannot be used if `disableClose` has been set to `true` for the dialog.
64+
* Note: this method does nothing if `disableClose` has been set to `true` for the dialog.
6565
*/
6666
async close(): Promise<void> {
6767
await (await this.host()).sendKeys(TestKey.ESCAPE);

0 commit comments

Comments
 (0)