@testing-library/react
Advanced tools
Comparing version 14.2.0 to 14.2.1
{ | ||
"name": "@testing-library/react", | ||
"version": "14.2.0", | ||
"version": "14.2.1", | ||
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -42,3 +42,3 @@ // TypeScript Version: 3.8 | ||
) => void | ||
rerender: (ui: React.ReactElement) => void | ||
rerender: (ui: React.ReactNode) => void | ||
unmount: () => void | ||
@@ -94,3 +94,3 @@ asFragment: () => DocumentFragment | ||
*/ | ||
wrapper?: React.JSXElementConstructor<{children: React.ReactElement}> | ||
wrapper?: React.JSXElementConstructor<{children: React.ReactNode}> | ||
} | ||
@@ -108,7 +108,7 @@ | ||
>( | ||
ui: React.ReactElement, | ||
ui: React.ReactNode, | ||
options: RenderOptions<Q, Container, BaseElement>, | ||
): RenderResult<Q, Container, BaseElement> | ||
export function render( | ||
ui: React.ReactElement, | ||
ui: React.ReactNode, | ||
options?: Omit<RenderOptions, 'queries'>, | ||
@@ -115,0 +115,0 @@ ): RenderResult |
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 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 not supported yet
Sorry, the diff of this file is too big to display
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
5414483
35560
689