@testing-library/dom
Advanced tools
Comparing version 7.26.4 to 7.26.5
@@ -37,3 +37,5 @@ "use strict"; | ||
function getRealLabels(element) { | ||
if (element.labels !== undefined) return element.labels; | ||
var _element$labels; | ||
if (element.labels !== undefined) return (_element$labels = element.labels) != null ? _element$labels : []; | ||
if (!isLabelable(element)) return []; | ||
@@ -40,0 +42,0 @@ const labels = element.ownerDocument.querySelectorAll('label'); |
{ | ||
"name": "@testing-library/dom", | ||
"version": "7.26.4", | ||
"version": "7.26.5", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -302,2 +302,3 @@ <div align="center"> | ||
<td align="center"><a href="https://github.com/romain-trotard"><img src="https://avatars0.githubusercontent.com/u/17161484?v=4" width="100px;" alt=""/><br /><sub><b>Romain Trotard</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=romain-trotard" title="Code">💻</a></td> | ||
<td align="center"><a href="http://www.thomasmarshall.com"><img src="https://avatars0.githubusercontent.com/u/770763?v=4" width="100px;" alt=""/><br /><sub><b>Thomas Marshall</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=thomasmarshall" title="Code">💻</a> <a href="https://github.com/testing-library/dom-testing-library/commits?author=thomasmarshall" title="Tests">⚠️</a></td> | ||
</tr> | ||
@@ -304,0 +305,0 @@ </table> |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
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
2908789
24262
363