* Expect the element to have exactly the given text. * * @usageNotes * ### Example * * {@example testing/ts/matchers.ts region='toHaveText'}
(expected: string)
| 28 | * {@example testing/ts/matchers.ts region='toHaveText'} |
| 29 | */ |
| 30 | toHaveText(expected: string): boolean; |
| 31 | |
| 32 | /** |
| 33 | * Expect the element to have the given CSS class. |
no outgoing calls