Socket
Socket
Sign inDemoInstall

@testing-library/dom

Package Overview
Dependencies
Maintainers
10
Versions
228
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@testing-library/dom - npm Package Compare versions

Comparing version 6.0.1 to 6.1.0

9

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

@@ -187,2 +187,3 @@ 'use strict';

testIdAttribute: 'data-testid',
asyncUtilTimeout: 4500,
// this is to support React's async `act` function.

@@ -218,3 +219,3 @@ // forcing react-testing-library to wrap all async functions would've been

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$mutationObserver = _ref.mutationObserverOptions,

@@ -958,3 +959,3 @@ mutationObserverOptions = _ref$mutationObserver === void 0 ? {

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$interval = _ref.interval,

@@ -981,3 +982,3 @@ interval = _ref$interval === void 0 ? 50 : _ref$interval;

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$mutationObserver = _ref.mutationObserverOptions,

@@ -1056,3 +1057,3 @@ mutationObserverOptions = _ref$mutationObserver === void 0 ? {

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$mutationObserver = _ref.mutationObserverOptions,

@@ -1059,0 +1060,0 @@ mutationObserverOptions = _ref$mutationObserver === void 0 ? {

@@ -181,2 +181,3 @@ import _extends from '@babel/runtime/helpers/esm/extends';

testIdAttribute: 'data-testid',
asyncUtilTimeout: 4500,
// this is to support React's async `act` function.

@@ -212,3 +213,3 @@ // forcing react-testing-library to wrap all async functions would've been

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$mutationObserver = _ref.mutationObserverOptions,

@@ -952,3 +953,3 @@ mutationObserverOptions = _ref$mutationObserver === void 0 ? {

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$interval = _ref.interval,

@@ -975,3 +976,3 @@ interval = _ref$interval === void 0 ? 50 : _ref$interval;

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$mutationObserver = _ref.mutationObserverOptions,

@@ -1050,3 +1051,3 @@ mutationObserverOptions = _ref$mutationObserver === void 0 ? {

_ref$timeout = _ref.timeout,
timeout = _ref$timeout === void 0 ? 4500 : _ref$timeout,
timeout = _ref$timeout === void 0 ? getConfig().asyncUtilTimeout : _ref$timeout,
_ref$mutationObserver = _ref.mutationObserverOptions,

@@ -1053,0 +1054,0 @@ mutationObserverOptions = _ref$mutationObserver === void 0 ? {

@@ -18,2 +18,3 @@ "use strict";

testIdAttribute: 'data-testid',
asyncUtilTimeout: 4500,
// this is to support React's async `act` function.

@@ -20,0 +21,0 @@ // forcing react-testing-library to wrap all async functions would've been

@@ -14,3 +14,3 @@ "use strict";

container = (0, _helpers.getDocument)(),
timeout = 4500,
timeout = (0, _config.getConfig)().asyncUtilTimeout,
mutationObserverOptions = {

@@ -17,0 +17,0 @@ subtree: true,

@@ -14,3 +14,3 @@ "use strict";

container = (0, _helpers.getDocument)(),
timeout = 4500,
timeout = (0, _config.getConfig)().asyncUtilTimeout,
mutationObserverOptions = {

@@ -17,0 +17,0 @@ subtree: true,

@@ -14,3 +14,3 @@ "use strict";

container = (0, _helpers.getDocument)(),
timeout = 4500,
timeout = (0, _config.getConfig)().asyncUtilTimeout,
mutationObserverOptions = {

@@ -17,0 +17,0 @@ subtree: true,

@@ -15,3 +15,3 @@ "use strict";

function wait(callback = () => {}, {
timeout = 4500,
timeout = (0, _config.getConfig)().asyncUtilTimeout,
interval = 50

@@ -18,0 +18,0 @@ } = {}) {

{
"name": "@testing-library/dom",
"version": "6.0.1",
"version": "6.1.0",
"description": "Simple and complete DOM testing utilities that encourage good testing practices.",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

@@ -30,3 +30,3 @@ <div align="center">

[![All Contributors](https://img.shields.io/badge/all_contributors-68-orange.svg?style=flat-square)](#contributors)
[![All Contributors](https://img.shields.io/badge/all_contributors-69-orange.svg?style=flat-square)](#contributors)
[![PRs Welcome][prs-badge]][prs]

@@ -221,2 +221,3 @@ [![Code of Conduct][coc-badge]][coc]

<td align="center"><a href="https://twitter.com/SavePointSam"><img src="https://avatars0.githubusercontent.com/u/8203211?v=4" width="100px;" alt="Sam Horton"/><br /><sub><b>Sam Horton</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=SavePointSam" title="Code">💻</a> <a href="https://github.com/testing-library/dom-testing-library/commits?author=SavePointSam" title="Tests">⚠️</a></td>
<td align="center"><a href="http://andrewhillcode.com"><img src="https://avatars1.githubusercontent.com/u/12396191?v=4" width="100px;" alt="Andrew Hill"/><br /><sub><b>Andrew Hill</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=andrewhillcode" title="Code">💻</a></td>
</tr>

@@ -223,0 +224,0 @@ </table>

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