@testing-library/dom
Advanced tools
Comparing version 5.5.0 to 5.5.1
@@ -181,3 +181,3 @@ 'use strict'; | ||
config = _extends({}, config, newConfig); | ||
config = _extends({}, config, {}, newConfig); | ||
} | ||
@@ -1686,3 +1686,3 @@ function getConfig() { | ||
createEvent[key] = function (node, init) { | ||
var eventInit = _extends({}, defaultInit, init); | ||
var eventInit = _extends({}, defaultInit, {}, init); | ||
@@ -1689,0 +1689,0 @@ var _eventInit$target = eventInit.target; |
@@ -175,3 +175,3 @@ import _extends from '@babel/runtime/helpers/esm/extends'; | ||
config = _extends({}, config, newConfig); | ||
config = _extends({}, config, {}, newConfig); | ||
} | ||
@@ -1680,3 +1680,3 @@ function getConfig() { | ||
createEvent[key] = function (node, init) { | ||
var eventInit = _extends({}, defaultInit, init); | ||
var eventInit = _extends({}, defaultInit, {}, init); | ||
@@ -1683,0 +1683,0 @@ var _eventInit$target = eventInit.target; |
@@ -36,3 +36,3 @@ "use strict"; | ||
config = (0, _extends2.default)({}, config, newConfig); | ||
config = (0, _extends2.default)({}, config, {}, newConfig); | ||
} | ||
@@ -39,0 +39,0 @@ |
@@ -618,3 +618,3 @@ "use strict"; | ||
createEvent[key] = (node, init) => { | ||
const eventInit = (0, _extends2.default)({}, defaultInit, init); | ||
const eventInit = (0, _extends2.default)({}, defaultInit, {}, init); | ||
const { | ||
@@ -621,0 +621,0 @@ target: { |
{ | ||
"name": "@testing-library/dom", | ||
"version": "5.5.0", | ||
"version": "5.5.1", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -0,4 +1,7 @@ | ||
import {Options} from 'pretty-format' | ||
export function prettyDOM( | ||
element: HTMLElement, | ||
maxLength?: number, | ||
options?: Options, | ||
): string | false |
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
1686386
72
17028