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 489e089 commit cb39716Copy full SHA for cb39716
README.md
@@ -314,14 +314,14 @@ const deleteElement = getByTitle(container, 'Delete')
314
```typescript
315
getByTestId(
316
container: HTMLElement,
317
- text: ExactTextMatch,
+ text: TextMatch,
318
options?: {
319
exact?: boolean = true,
320
}): HTMLElement`
321
```
322
323
A shortcut to `` container.querySelector(`[data-testid="${yourId}"]`) `` (and it
324
-also accepts an [`ExactTextMatch`](#exacttextmatch)).
+also accepts a [`TextMatch`](#textmatch)).
325
326
```javascript
327
// <input data-testid="username-input" />
0 commit comments