Socket
Socket
Sign inDemoInstall

@testing-library/react

Package Overview
Dependencies
Maintainers
15
Versions
117
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/react - npm Package Compare versions

Comparing version 14.1.0 to 14.1.1

6

dist/@testing-library/react.cjs.js

@@ -463,3 +463,4 @@ 'use strict';

});
} else {
} else if (!process.env.RTL_AFTEREACH_WARNING_LOGGED) {
process.env.RTL_AFTEREACH_WARNING_LOGGED = true;
console.warn(`The current test runner does not support afterEach/teardown hooks. This means we won't be able to run automatic cleanup and you should be calling cleanup() manually.`);

@@ -480,3 +481,4 @@ }

});
} else {
} else if (!process.env.RTL_AFTERALL_WARNING_LOGGED) {
process.env.RTL_AFTERALL_WARNING_LOGGED = true;
console.warn('The current test runner does not support beforeAll/afterAll hooks. This means you should be setting IS_REACT_ACT_ENVIRONMENT manually.');

@@ -483,0 +485,0 @@ }

@@ -435,3 +435,4 @@ import * as testUtils from 'react-dom/test-utils';

});
} else {
} else if (!process.env.RTL_AFTEREACH_WARNING_LOGGED) {
process.env.RTL_AFTEREACH_WARNING_LOGGED = true;
console.warn(`The current test runner does not support afterEach/teardown hooks. This means we won't be able to run automatic cleanup and you should be calling cleanup() manually.`);

@@ -452,3 +453,4 @@ }

});
} else {
} else if (!process.env.RTL_AFTERALL_WARNING_LOGGED) {
process.env.RTL_AFTERALL_WARNING_LOGGED = true;
console.warn('The current test runner does not support beforeAll/afterAll hooks. This means you should be setting IS_REACT_ACT_ENVIRONMENT manually.');

@@ -455,0 +457,0 @@ }

@@ -38,3 +38,4 @@ "use strict";

});
} else {
} else if (!process.env.RTL_AFTEREACH_WARNING_LOGGED) {
process.env.RTL_AFTEREACH_WARNING_LOGGED = true;
console.warn(`The current test runner does not support afterEach/teardown hooks. This means we won't be able to run automatic cleanup and you should be calling cleanup() manually.`);

@@ -55,5 +56,6 @@ }

});
} else {
} else if (!process.env.RTL_AFTERALL_WARNING_LOGGED) {
process.env.RTL_AFTERALL_WARNING_LOGGED = true;
console.warn('The current test runner does not support beforeAll/afterAll hooks. This means you should be setting IS_REACT_ACT_ENVIRONMENT manually.');
}
}
{
"name": "@testing-library/react",
"version": "14.1.0",
"version": "14.1.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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc