Skip to content

Commit 174303a

Browse files
authored
docs: add missing parenthese to harness guide (#22833)
1 parent 249201b commit 174303a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

guides/using-component-harnesses.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ it('should work', async () => {
130130
const cancel = await loader.getHarness(MatButtonHarness.with({text: 'Cancel'}));
131131
// Harness for mat-button with class 'confirm' and whose text is either 'Ok' or 'Okay'.
132132
const okButton = await loader.getHarness(
133-
MatButtonHarness.with({selector: '.confirm', text: /^(Ok|Okay)$/})
133+
MatButtonHarness.with({selector: '.confirm', text: /^(Ok|Okay)$/}));
134134
});
135135
```
136136

0 commit comments

Comments
 (0)