Skip to content

Commit 1119250

Browse files
authored
Fix typo and remove duplicate (#593)
1 parent 95ef902 commit 1119250

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

docs/dom-testing-library/api-configuration.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Configuration options:
1818
`computedStyleSupportsPseudoElements`: Set to `true` if
1919
`window.getComputedStyle` supports pseudo-elements i.e. a second argument. If
2020
you're using testing-library in a browser you almost always want to set this to
21-
`true`. Only very old browser don't support his property (such as IE 8 and
21+
`true`. Only very old browser don't support this property (such as IE 8 and
2222
earlier). However, `jsdom` does not support the second argument currently. This
2323
includes versions of `jsdom` prior to `16.4.0` and any version that logs a
2424
`not implemented` warning when calling `getComputedStyle` with a second argument
@@ -54,10 +54,6 @@ and related queries. Defaults to `data-testid`.
5454
[`getBy*`](api-queries#getby) or [`getAllBy*`](api-queries#getallby) fail. Takes
5555
the error message and container object as arguments.
5656

57-
`getElementError`: A function that returns the error used when
58-
[`getBy*`](api-queries#getby) or [`getAllBy*`](api-queries#getallby) fail. Takes
59-
the error message and container object as arguments.
60-
6157
`asyncUtilTimeout`: The global timeout value in milliseconds used by `waitFor` utilities.
6258
Defaults to 1000ms.
6359

0 commit comments

Comments
 (0)