@testing-library/dom
Advanced tools
Comparing version 7.29.3 to 7.29.4
@@ -100,5 +100,10 @@ "use strict"; | ||
function makeFindQuery(getter) { | ||
return (container, text, options, waitForOptions) => (0, _waitFor.waitFor)(() => { | ||
return getter(container, text, options); | ||
}, waitForOptions); | ||
return (container, text, options, waitForOptions) => { | ||
return (0, _waitFor.waitFor)(() => { | ||
return getter(container, text, options); | ||
}, { | ||
container, | ||
...waitForOptions | ||
}); | ||
}; | ||
} | ||
@@ -105,0 +110,0 @@ |
@@ -81,2 +81,9 @@ "use strict"; | ||
} else { | ||
try { | ||
(0, _helpers.checkContainerType)(container); | ||
} catch (e) { | ||
reject(e); | ||
return; | ||
} | ||
intervalId = setInterval(checkRealTimersCallback, interval); | ||
@@ -83,0 +90,0 @@ const { |
{ | ||
"name": "@testing-library/dom", | ||
"version": "7.29.3", | ||
"version": "7.29.4", | ||
"description": "Simple and complete DOM testing utilities that encourage good testing practices.", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
@@ -305,2 +305,5 @@ <div align="center"> | ||
</tr> | ||
<tr> | ||
<td align="center"><a href="https://github.com/nathanforce"><img src="https://avatars2.githubusercontent.com/u/6694194?v=4?s=100" width="100px;" alt=""/><br /><sub><b>Nathan Force</b></sub></a><br /><a href="https://github.com/testing-library/dom-testing-library/commits?author=nathanforce" title="Code">💻</a></td> | ||
</tr> | ||
</table> | ||
@@ -307,0 +310,0 @@ |
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
2976182
24844
356