@testing-library/react
Advanced tools
Comparing version 15.0.0 to 15.0.1
@@ -36,3 +36,3 @@ 'use strict'; | ||
const reactAct = React__namespace.act ?? DeprecatedReactTestUtils__namespace.act; | ||
const reactAct = typeof React__namespace.act === 'function' ? React__namespace.act : DeprecatedReactTestUtils__namespace.act; | ||
function getGlobalThis() { | ||
@@ -39,0 +39,0 @@ /* istanbul ignore else */ |
@@ -8,3 +8,3 @@ import * as React from 'react'; | ||
const reactAct = React.act ?? DeprecatedReactTestUtils.act; | ||
const reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act; | ||
function getGlobalThis() { | ||
@@ -11,0 +11,0 @@ /* istanbul ignore else */ |
@@ -36,3 +36,3 @@ 'use strict'; | ||
const reactAct = React__namespace.act ?? DeprecatedReactTestUtils__namespace.act; | ||
const reactAct = typeof React__namespace.act === 'function' ? React__namespace.act : DeprecatedReactTestUtils__namespace.act; | ||
function getGlobalThis() { | ||
@@ -39,0 +39,0 @@ /* istanbul ignore else */ |
@@ -8,3 +8,3 @@ import * as React from 'react'; | ||
const reactAct = React.act ?? DeprecatedReactTestUtils.act; | ||
const reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act; | ||
function getGlobalThis() { | ||
@@ -11,0 +11,0 @@ /* istanbul ignore else */ |
@@ -13,3 +13,3 @@ "use strict"; | ||
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != typeof e && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; } | ||
const reactAct = React.act ?? DeprecatedReactTestUtils.act; | ||
const reactAct = typeof React.act === 'function' ? React.act : DeprecatedReactTestUtils.act; | ||
function getGlobalThis() { | ||
@@ -16,0 +16,0 @@ /* istanbul ignore else */ |
{ | ||
"name": "@testing-library/react", | ||
"version": "15.0.0", | ||
"version": "15.0.1", | ||
"description": "Simple and complete React DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
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
4295026