Skip to content

Commit cb39716

Browse files
committed
Update refs to textmatch
1 parent 489e089 commit cb39716

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -314,14 +314,14 @@ const deleteElement = getByTitle(container, 'Delete')
314314
```typescript
315315
getByTestId(
316316
container: HTMLElement,
317-
text: ExactTextMatch,
317+
text: TextMatch,
318318
options?: {
319319
exact?: boolean = true,
320320
}): HTMLElement`
321321
```
322322

323323
A shortcut to `` container.querySelector(`[data-testid="${yourId}"]`) `` (and it
324-
also accepts an [`ExactTextMatch`](#exacttextmatch)).
324+
also accepts a [`TextMatch`](#textmatch)).
325325

326326
```javascript
327327
// <input data-testid="username-input" />

0 commit comments

Comments
 (0)