Skip to content

Commit 500ffdf

Browse files
author
Kent C. Dodds
authored
test: fix coverage (#382)
1 parent b5cb4c5 commit 500ffdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/role-helpers.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,8 @@ function isInaccessible(element) {
4242
return true
4343
}
4444

45+
// this branch is temporary code until jsdom fixes a bug
46+
// istanbul ignore else
4547
if (supportsStyleInheritance === false) {
4648
// we go bottom-up for an inheritable property so we can only set it
4749
// if it wasn't set already i.e. the parent can't overwrite the child

0 commit comments

Comments
 (0)