File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 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'
1111export * from '@testing-library/dom'
1212
1313export type RenderResult < Q extends Queries = typeof queries > = {
14- container : HTMLElement
15- baseElement : HTMLElement
14+ container : Element
15+ baseElement : Element
1616 debug : (
1717 baseElement ?:
18- | HTMLElement
18+ | Element
1919 | DocumentFragment
20- | Array < HTMLElement | DocumentFragment > ,
20+ | Array < Element | DocumentFragment > ,
2121 maxLength ?: number ,
2222 options ?: prettyFormat . OptionsReceived ,
2323 ) => void
@@ -27,8 +27,8 @@ export type RenderResult<Q extends Queries = typeof queries> = {
2727} & { [ P in keyof Q ] : BoundFunction < Q [ P ] > }
2828
2929export interface RenderOptions < Q extends Queries = typeof queries > {
30- container ?: HTMLElement
31- baseElement ?: HTMLElement
30+ container ?: Element
31+ baseElement ?: Element
3232 hydrate ?: boolean
3333 queries ?: Q
3434 wrapper ?: React . ComponentType
You can’t perform that action at this time.
0 commit comments