@testing-library/react
Advanced tools
Comparing version 12.1.3 to 12.1.4
{ | ||
"name": "@testing-library/react", | ||
"version": "12.1.3", | ||
"version": "12.1.4", | ||
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -17,5 +17,6 @@ // TypeScript Version: 3.8 | ||
Container extends Element | DocumentFragment = HTMLElement, | ||
BaseElement extends Element | DocumentFragment = Container, | ||
> = { | ||
container: Container | ||
baseElement: Element | ||
baseElement: BaseElement | ||
debug: ( | ||
@@ -37,2 +38,3 @@ baseElement?: | ||
Container extends Element | DocumentFragment = HTMLElement, | ||
BaseElement extends Element | DocumentFragment = Container, | ||
> { | ||
@@ -55,3 +57,3 @@ /** | ||
*/ | ||
baseElement?: Element | ||
baseElement?: BaseElement | ||
/** | ||
@@ -87,6 +89,7 @@ * If `hydrate` is set to `true`, then it will render with `ReactDOM.hydrate`. This may be useful if you are using server-side | ||
Container extends Element | DocumentFragment = HTMLElement, | ||
BaseElement extends Element | DocumentFragment = Container, | ||
>( | ||
ui: React.ReactElement, | ||
options: RenderOptions<Q, Container>, | ||
): RenderResult<Q, Container> | ||
options: RenderOptions<Q, Container, BaseElement>, | ||
): RenderResult<Q, Container, BaseElement> | ||
export function render( | ||
@@ -93,0 +96,0 @@ ui: React.ReactElement, |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4442303
27874