@testing-library/react
Advanced tools
Comparing version 9.1.0 to 9.1.1
{ | ||
"name": "@testing-library/react", | ||
"version": "9.1.0", | ||
"version": "9.1.1", | ||
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.", | ||
@@ -47,3 +47,4 @@ "main": "dist/index.js", | ||
"@babel/runtime": "^7.5.5", | ||
"@testing-library/dom": "^6.0.0" | ||
"@testing-library/dom": "^6.0.0", | ||
"@types/react-dom": "*" | ||
}, | ||
@@ -50,0 +51,0 @@ "devDependencies": { |
import {queries, Queries, BoundFunction} from '@testing-library/dom' | ||
import {act as reactAct} from 'react-dom/test-utils' | ||
@@ -46,2 +47,4 @@ export * from '@testing-library/dom' | ||
*/ | ||
export function act(callback: () => void): void | ||
export const act: typeof reactAct extends undefined | ||
? (callback: () => void) => void | ||
: typeof reactAct |
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
1687553
11400
5
+ Added@types/react-dom@*
+ Added@types/prop-types@15.7.13(transitive)
+ Added@types/react@18.3.12(transitive)
+ Added@types/react-dom@18.3.1(transitive)
+ Addedcsstype@3.1.3(transitive)