@testing-library/react
Advanced tools
Comparing version 8.0.3 to 8.0.4
{ | ||
"name": "@testing-library/react", | ||
"version": "8.0.3", | ||
"version": "8.0.4", | ||
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -1,19 +0,5 @@ | ||
import {queries, BoundFunction} from '@testing-library/dom' | ||
import {queries, Queries, BoundFunction} from '@testing-library/dom' | ||
export * from '@testing-library/dom' | ||
interface Query extends Function { | ||
(container: HTMLElement, ...args: any[]): | ||
| Error | ||
| Promise<HTMLElement[]> | ||
| Promise<HTMLElement> | ||
| HTMLElement[] | ||
| HTMLElement | ||
| null | ||
} | ||
export interface Queries { | ||
[T: string]: Query | ||
} | ||
export type RenderResult<Q extends Queries = typeof queries> = { | ||
@@ -20,0 +6,0 @@ container: HTMLElement |
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
1688461
11753