File tree 1 file changed +6
-6
lines changed
1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -11,13 +11,13 @@ import {act as reactAct} from 'react-dom/test-utils'
11
11
export * from '@testing-library/dom'
12
12
13
13
export type RenderResult < Q extends Queries = typeof queries > = {
14
- container : HTMLElement
15
- baseElement : HTMLElement
14
+ container : Element
15
+ baseElement : Element
16
16
debug : (
17
17
baseElement ?:
18
- | HTMLElement
18
+ | Element
19
19
| DocumentFragment
20
- | Array < HTMLElement | DocumentFragment > ,
20
+ | Array < Element | DocumentFragment > ,
21
21
maxLength ?: number ,
22
22
options ?: prettyFormat . OptionsReceived ,
23
23
) => void
@@ -27,8 +27,8 @@ export type RenderResult<Q extends Queries = typeof queries> = {
27
27
} & { [ P in keyof Q ] : BoundFunction < Q [ P ] > }
28
28
29
29
export interface RenderOptions < Q extends Queries = typeof queries > {
30
- container ?: HTMLElement
31
- baseElement ?: HTMLElement
30
+ container ?: Element
31
+ baseElement ?: Element
32
32
hydrate ?: boolean
33
33
queries ?: Q
34
34
wrapper ?: React . ComponentType
You can’t perform that action at this time.
0 commit comments