Skip to content

Commit 9630daf

Browse files
committed
Fix comment in setup-tests.
1 parent b894d63 commit 9630daf

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/setup-tests.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ import logging from "./core/logging";
1414
logging.setLevel(50);
1515
// level: FATAL
1616

17-
// patch dom.is_visible to not rely on jest-unavailable offsetWidth/Height but
18-
// simply on el.hidden.
17+
// patch dom.is_visible to not rely on jest-unavailable offsetWidth/Height
1918
import dom from "./core/dom";
2019
dom.is_visible = (el) => {
2120
return !el.hidden && el.style.display !== "none";

0 commit comments

Comments
 (0)