We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b894d63 commit 9630dafCopy full SHA for 9630daf
src/setup-tests.js
@@ -14,8 +14,7 @@ import logging from "./core/logging";
14
logging.setLevel(50);
15
// level: FATAL
16
17
-// patch dom.is_visible to not rely on jest-unavailable offsetWidth/Height but
18
-// simply on el.hidden.
+// patch dom.is_visible to not rely on jest-unavailable offsetWidth/Height
19
import dom from "./core/dom";
20
dom.is_visible = (el) => {
21
return !el.hidden && el.style.display !== "none";
0 commit comments